eZPublishCommunityProject  2013.4
eZ\Bundle\EzPublishCoreBundle\EventListener\SiteAccessListener Class Reference

SiteAccess match listener. More...

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

Public Member Functions

 __construct (ContainerInterface $container)
 
 onSiteAccessMatch (PostSiteAccessMatchEvent $event)
 

Static Public Member Functions

static getSubscribedEvents ()
 

Private Member Functions

 getViewParameters ($pathinfo)
 Extracts view parameters from $pathinfo. More...
 

Private Attributes

 $container
 

Detailed Description

SiteAccess match listener.

Constructor & Destructor Documentation

eZ\Bundle\EzPublishCoreBundle\EventListener\SiteAccessListener::__construct ( ContainerInterface  $container)

Member Function Documentation

static eZ\Bundle\EzPublishCoreBundle\EventListener\SiteAccessListener::getSubscribedEvents ( )
static
eZ\Bundle\EzPublishCoreBundle\EventListener\SiteAccessListener::getViewParameters (   $pathinfo)
private

Extracts view parameters from $pathinfo.

In the pathinfo, view parameters are in the form /(param_name)/param_value.

Parameters
string$pathinfo
Returns
array First element is the cleaned up pathinfo (without the view parameters string). Second element is the view parameters hash. Third element is the view parameters string (e.g. /(foo)/bar)

Referenced by eZ\Bundle\EzPublishCoreBundle\EventListener\SiteAccessListener\onSiteAccessMatch().

eZ\Bundle\EzPublishCoreBundle\EventListener\SiteAccessListener::onSiteAccessMatch ( PostSiteAccessMatchEvent  $event)

Member Data Documentation

eZ\Bundle\EzPublishCoreBundle\EventListener\SiteAccessListener::$container
private

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