European Week of Regions and Cities

MyAgendaController extends ControllerBase Uses StringTranslationTrait

Controller for the MyAgenda page.

Table of Contents

Properties

$configFactory  : ConfigFactory
Configuration Factory.
$dateFormatter  : DateFormatterInterface
The date formatter service.
$entityTypeManager  : EntityTypeManagerInterface
The entity type manager.
$pagerManager  : PagerManagerInterface
Pager manager.
$sessionHelper  : Session
Session helper.
$utils  : Utils
Utils helper.

Methods

__construct()  : mixed
Constructs a User object.
create()  : mixed
Create container.
generateIcs()  : mixed
Generate Ics file from session id.
getMyAgendaPage()  : mixed
Get the MyAgenda page.
buildPager()  : mixed
Build custom pager.

Properties

$dateFormatter

The date formatter service.

protected DateFormatterInterface $dateFormatter

$entityTypeManager

The entity type manager.

protected EntityTypeManagerInterface $entityTypeManager

Methods

__construct()

Constructs a User object.

public __construct(EntityTypeManagerInterface $entity_type_manager, DateFormatterInterface $dateFormatter, PagerManagerInterface $pagerManager, Session $sessionHelper, ConfigFactory $configFactory, Utils $utils) : mixed
Parameters
$entity_type_manager : EntityTypeManagerInterface
$dateFormatter : DateFormatterInterface
$pagerManager : PagerManagerInterface
$sessionHelper : Session
$configFactory : ConfigFactory
$utils : Utils

create()

Create container.

public static create(ContainerInterface $container) : mixed
Parameters
$container : ContainerInterface

generateIcs()

Generate Ics file from session id.

public generateIcs(Request $request) : mixed
Parameters
$request : Request

buildPager()

Build custom pager.

private buildPager(mixed $data[, mixed $limit = 10 ]) : mixed
Parameters
$data : mixed
$limit : mixed = 10

        
On this page

Search results