eZPublishCommunityProject  2013.5
eZ\Publish\Core\MVC\Symfony\Event\PostSiteAccessMatchEvent Class Reference

This event is triggered after SiteAccess matching process and allows further control on it and the associated request. More...

+ Inheritance diagram for eZ\Publish\Core\MVC\Symfony\Event\PostSiteAccessMatchEvent:
+ Collaboration diagram for eZ\Publish\Core\MVC\Symfony\Event\PostSiteAccessMatchEvent:

Public Member Functions

 __construct (SiteAccess $siteAccess, Request $request, $requestType)
 
 getRequest ()
 
 getRequestType ()
 Returns the request type the kernel is currently processing. More...
 
 getSiteAccess ()
 Returns matched SiteAccess instance. More...
 

Private Attributes

 $request
 
 $requestType
 
 $siteAccess
 

Detailed Description

This event is triggered after SiteAccess matching process and allows further control on it and the associated request.

Constructor & Destructor Documentation

eZ\Publish\Core\MVC\Symfony\Event\PostSiteAccessMatchEvent::__construct ( SiteAccess  $siteAccess,
Request  $request,
  $requestType 
)

Member Function Documentation

eZ\Publish\Core\MVC\Symfony\Event\PostSiteAccessMatchEvent::getRequestType ( )

Returns the request type the kernel is currently processing.

Returns
integer One of HttpKernelInterface::MASTER_REQUEST and HttpKernelInterface::SUB_REQUEST

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

eZ\Publish\Core\MVC\Symfony\Event\PostSiteAccessMatchEvent::getSiteAccess ( )

Member Data Documentation

eZ\Publish\Core\MVC\Symfony\Event\PostSiteAccessMatchEvent::$request
private
eZ\Publish\Core\MVC\Symfony\Event\PostSiteAccessMatchEvent::$requestType
private
eZ\Publish\Core\MVC\Symfony\Event\PostSiteAccessMatchEvent::$siteAccess
private

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