European Week of Regions and Cities

Session Uses StringTranslationTrait

Session class contains helpers functions.

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.

Methods

__construct()  : mixed
Session helper Constructor.
getSessionsData()  : mixed
Return formatted session data.
getAcceptedSessions()  : mixed
Return accepted sessions.
getFormatShortname()  : mixed
Return format label from id.
getMergedLeadSessions()  : mixed
Return merged lead sessions.
getThematicColor()  : mixed
Return thematic cluster color code.
getThematicLabel()  : mixed
Return thematic cluster label from id.
getVenue()  : mixed
Return venue building et room name.

Properties

$configFactory

Configuration Factory.

protected ConfigFactory $configFactory

$database

The database connection.

protected Connection $database

$dateFormatter

The date formatter service.

protected DateFormatterInterface $dateFormatter

$entityTypeManager

The entity type manager.

protected EntityTypeManagerInterface $entityTypeManager

Methods

__construct()

Session helper Constructor.

public __construct(Connection $database, EntityTypeManagerInterface $entity_type_manager, DateFormatterInterface $dateFormatter, ConfigFactory $configFactory) : mixed
Parameters
$database : Connection
$entity_type_manager : EntityTypeManagerInterface
$dateFormatter : DateFormatterInterface
$configFactory : ConfigFactory

getSessionsData()

Return formatted session data.

public getSessionsData() : mixed

getAcceptedSessions()

Return accepted sessions.

private getAcceptedSessions() : mixed

getFormatShortname()

Return format label from id.

private getFormatShortname(mixed $formatId) : mixed
Parameters
$formatId : mixed

getMergedLeadSessions()

Return merged lead sessions.

private getMergedLeadSessions() : mixed

getThematicColor()

Return thematic cluster color code.

private getThematicColor(mixed $themeId) : mixed
Parameters
$themeId : mixed

getThematicLabel()

Return thematic cluster label from id.

private getThematicLabel(mixed $themeId) : mixed
Parameters
$themeId : mixed

getVenue()

Return venue building et room name.

private getVenue(mixed $roomId) : mixed
Parameters
$roomId : mixed

        
On this page

Search results