GetDecisionsAnalytics
in package
Utility class to retrieve statistical data.
Table of Contents
Properties
- $configFactory : ConfigFactory
- Configuration Factory.
- $database : Connection
- The database connection.
- $dateFormatter : DateFormatterInterface
- The date formatter service.
- $decisionsHelper : DecisionsHelper
- DecisionHelper functions.
- $entityTypeManager : EntityTypeManagerInterface
- The entity type manager.
- $session : Session
- Session helper.
Methods
- __construct() : mixed
- GetDecisionsAnalytics Constructor.
- buildTable() : mixed
- Build table with the number of matching fields.
- buildTableHeader() : mixed
- Build table header.
- buildTableRow() : mixed
- Build table row.
- buildTableRows() : mixed
- Build table rows.
- create() : mixed
- Create container.
- generateTable() : mixed
- Retrieve statistical data.
- getsubmissions() : mixed
- Return session submissions.
Properties
$configFactory
Configuration Factory.
protected
ConfigFactory
$configFactory
$database
The database connection.
protected
Connection
$database
$dateFormatter
The date formatter service.
protected
DateFormatterInterface
$dateFormatter
$decisionsHelper
DecisionHelper functions.
protected
DecisionsHelper
$decisionsHelper
$entityTypeManager
The entity type manager.
protected
EntityTypeManagerInterface
$entityTypeManager
$session
Session helper.
protected
Session
$session
Methods
__construct()
GetDecisionsAnalytics Constructor.
public
__construct(Connection $database, EntityTypeManagerInterface $entityTypeManager, ConfigFactory $configFactory, DateFormatterInterface $dateFormatter, DecisionsHelper $decisionsHelper, Session $session) : mixed
Parameters
- $database : Connection
- $entityTypeManager : EntityTypeManagerInterface
- $configFactory : ConfigFactory
- $dateFormatter : DateFormatterInterface
- $decisionsHelper : DecisionsHelper
- $session : Session
buildTable()
Build table with the number of matching fields.
public
buildTable(mixed $counts, mixed $headers) : mixed
Parameters
- $counts : mixed
- $headers : mixed
Tags
buildTableHeader()
Build table header.
public
buildTableHeader(mixed $header_items) : mixed
Parameters
- $header_items : mixed
buildTableRow()
Build table row.
public
buildTableRow(mixed $header_values, mixed $key, mixed $row, mixed &$row_totals) : mixed
Parameters
- $header_values : mixed
- $key : mixed
- $row : mixed
- $row_totals : mixed
buildTableRows()
Build table rows.
public
buildTableRows(mixed $header_values, mixed $counts) : mixed
Parameters
- $header_values : mixed
- $counts : mixed
create()
Create container.
public
create(ContainerInterface $container) : mixed
Parameters
- $container : ContainerInterface
generateTable()
Retrieve statistical data.
public
generateTable() : mixed
getsubmissions()
Return session submissions.
private
getsubmissions() : mixed