eZPublishCommunityProject  2013.9
eZ\Bundle\EzPublishCoreBundle\Routing\UrlAliasRouter Class Reference
+ Inheritance diagram for eZ\Bundle\EzPublishCoreBundle\Routing\UrlAliasRouter:
+ Collaboration diagram for eZ\Bundle\EzPublishCoreBundle\Routing\UrlAliasRouter:

Public Member Functions

 matchRequest (Request $request)
 
 setContainer (ContainerInterface $container)
 
 setRootLocationId ($rootLocationId)
 
- Public Member Functions inherited from eZ\Publish\Core\MVC\Symfony\Routing\UrlAliasRouter
 __construct (\Closure $lazyRepository, UrlAliasGenerator $generator, RequestContext $requestContext, LoggerInterface $logger=null)
 
 generate ($name, $parameters=array(), $absolute=false)
 Generates a URL for a location, from the given parameters. More...
 
 getContext ()
 
 getRouteCollection ()
 Gets the RouteCollection instance associated with this Router. More...
 
 getRouteDebugMessage ($name, array $parameters=array())
 
 match ($pathinfo)
 Not supported. More...
 
 matchRequest (Request $request)
 Tries to match a request with a set of routes. More...
 
 setContext (RequestContext $context)
 
 supports ($name)
 Whether the router supports the thing in $name to generate a route. More...
 

Protected Member Functions

 getConfigResolver ()
 
 getUrlAlias ($pathinfo)
 Will return the right UrlAlias in regards to configured root location. More...
 
- Protected Member Functions inherited from eZ\Publish\Core\MVC\Symfony\Routing\UrlAliasRouter
 getRepository ()
 
 getUrlAlias ($pathinfo)
 Returns the UrlAlias object to use, starting from the request. More...
 

Protected Attributes

 $container
 
 $rootLocationId
 
- Protected Attributes inherited from eZ\Publish\Core\MVC\Symfony\Routing\UrlAliasRouter
 $generator
 
 $lazyRepository
 
 $logger
 
 $repository
 
 $requestContext
 
 $urlAliasService
 

Additional Inherited Members

- Public Attributes inherited from eZ\Publish\Core\MVC\Symfony\Routing\UrlAliasRouter
const LOCATION_VIEW_CONTROLLER = 'ez_content:viewLocation'
 
const URL_ALIAS_ROUTE_NAME = 'ez_urlalias'
 

Member Function Documentation

eZ\Bundle\EzPublishCoreBundle\Routing\UrlAliasRouter::getConfigResolver ( )
protected
eZ\Bundle\EzPublishCoreBundle\Routing\UrlAliasRouter::getUrlAlias (   $pathinfo)
protected

Will return the right UrlAlias in regards to configured root location.

Parameters
string$pathinfo
Returns
eZ\Bundle\EzPublishCoreBundle\Routing\UrlAliasRouter::matchRequest ( Request  $request)
eZ\Bundle\EzPublishCoreBundle\Routing\UrlAliasRouter::setContainer ( ContainerInterface  $container)
eZ\Bundle\EzPublishCoreBundle\Routing\UrlAliasRouter::setRootLocationId (   $rootLocationId)

Member Data Documentation

eZ\Bundle\EzPublishCoreBundle\Routing\UrlAliasRouter::$container
protected
eZ\Bundle\EzPublishCoreBundle\Routing\UrlAliasRouter::$rootLocationId
protected

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