European Week of Regions and Cities

GetDecisionsAnalytics

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

$entityTypeManager

The entity type manager.

protected EntityTypeManagerInterface $entityTypeManager

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
SuppressWarnings

(PHPMD.UnusedFormalParameter)

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

        
On this page

Search results