PHP Class eZ\Bundle\EzPublishCoreBundle\EventListener\SiteAccessListener

Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface, implements Symfony\Component\DependencyInjection\ContainerAwareInterface, use trait Symfony\Component\DependencyInjection\ContainerAwareTrait
Mostra file Open project: ezsystems/ezpublish-kernel Class Usage Examples

Public Methods

Method Description
__construct ( Symfony\Component\Routing\RouterInterface $defaultRouter, UrlAliasGenerator $urlAliasGenerator, HttpUtils $httpUtils )
getSubscribedEvents ( )
onSiteAccessMatch ( PostSiteAccessMatchEvent $event )

Private Methods

Method Description
generateViewParametersArray ( $vpString ) : array Generates the view parameters array from the view parameters string.
getViewParameters ( string $pathinfo ) : array Extracts view parameters from $pathinfo.

Method Details

__construct() public method

public __construct ( Symfony\Component\Routing\RouterInterface $defaultRouter, UrlAliasGenerator $urlAliasGenerator, HttpUtils $httpUtils )
$defaultRouter Symfony\Component\Routing\RouterInterface
$urlAliasGenerator eZ\Publish\Core\MVC\Symfony\Routing\Generator\UrlAliasGenerator
$httpUtils Symfony\Component\Security\Http\HttpUtils

getSubscribedEvents() public static method

public static getSubscribedEvents ( )

onSiteAccessMatch() public method

public onSiteAccessMatch ( PostSiteAccessMatchEvent $event )
$event eZ\Publish\Core\MVC\Symfony\Event\PostSiteAccessMatchEvent