European Week of Regions and Cities

GetOrganisationAnalytics

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.
$entityTypeManager  : EntityTypeManagerInterface
The entity type manager.
$organisationHelper  : OrganisationHelper
OrganisationHelper functions.
$session  : Session
Session helper.

Methods

__construct()  : mixed
GetOrganisationAnalytics 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

Methods

__construct()

GetOrganisationAnalytics Constructor.

public __construct(Connection $database, EntityTypeManagerInterface $entityTypeManager, ConfigFactory $configFactory, DateFormatterInterface $dateFormatter, OrganisationHelper $organisationHelper, Session $session) : mixed
Parameters
$database : Connection
$entityTypeManager : EntityTypeManagerInterface
$configFactory : ConfigFactory
$dateFormatter : DateFormatterInterface
$organisationHelper : OrganisationHelper
$session : Session

buildTable()

Build table with the number of matching fields.

public buildTable(mixed $counts, mixed $headers) : mixed
Parameters
$counts : mixed
$headers : mixed

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