eZPublishCommunityProject  2012.12
eZ\Bundle\EzPublishCoreBundle\EventListener\SessionSetDynamicNameListener Class Reference

SiteAccess match listener. More...

+ Inheritance diagram for eZ\Bundle\EzPublishCoreBundle\EventListener\SessionSetDynamicNameListener:
+ Collaboration diagram for eZ\Bundle\EzPublishCoreBundle\EventListener\SessionSetDynamicNameListener:

Public Member Functions

 __construct (ContainerInterface $container)
 

Static Public Member Functions

static getSubscribedEvents ()
 

Public Attributes

const MARKER = "{siteaccess_hash}"
 

Private Attributes

 $container
 

Detailed Description

SiteAccess match listener.

Allows to set a dynamic session name based on the siteaccess name.

Constructor & Destructor Documentation

eZ\Bundle\EzPublishCoreBundle\EventListener\SessionSetDynamicNameListener::__construct ( ContainerInterface  $container)
Note
Injecting the service container is mandatory since event listeners are instantiated before siteaccess matching
Parameters
\Symfony\Component\DependencyInjection\ContainerInterface$container

Member Function Documentation

static eZ\Bundle\EzPublishCoreBundle\EventListener\SessionSetDynamicNameListener::getSubscribedEvents ( )
static

Member Data Documentation

eZ\Bundle\EzPublishCoreBundle\EventListener\SessionSetDynamicNameListener::$container
private
const eZ\Bundle\EzPublishCoreBundle\EventListener\SessionSetDynamicNameListener::MARKER = "{siteaccess_hash}"

The documentation for this class was generated from the following file: