eZPublishCommunityProject  2012.12
eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\Map\URI Class Reference
+ Inheritance diagram for eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\Map\URI:
+ Collaboration diagram for eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\Map\URI:

Public Member Functions

 __construct (array $siteAccessesConfiguration)
 Constructor. More...
 
 analyseLink ($linkUri)
 Analyses $linkUri when generating a link to a route, in order to have the siteaccess part back in the URI. More...
 
 analyseURI ($uri)
 Fixes up $uri to remove the siteaccess part, if needed. More...
 
 getName ()
 Returns the matcher's name. More...
 
 setRequest (SimplifiedRequest $request)
 Injects the request object to match against. More...
 
- Public Member Functions inherited from eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\Map
 __construct (array $map)
 Constructor. More...
 
 match ()
 Returns matching Siteaccess. More...
 
 setMapKey ($key)
 Injects the key that will be used for matching against the map configuration. More...
 

Additional Inherited Members

- Protected Attributes inherited from eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\Map
 $key
 
 $map
 

Constructor & Destructor Documentation

eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\Map\URI::__construct ( array  $siteAccessesConfiguration)

Constructor.

Parameters
array$siteAccessesConfigurationSiteAccesses configuration.

Member Function Documentation

eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\Map\URI::analyseLink (   $linkUri)

Analyses $linkUri when generating a link to a route, in order to have the siteaccess part back in the URI.

Parameters
string$linkUri
Returns
string The modified link URI

Implements eZ\Publish\Core\MVC\Symfony\SiteAccess\URILexer.

eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\Map\URI::analyseURI (   $uri)

Fixes up $uri to remove the siteaccess part, if needed.

Parameters
string$uriThe original URI
Returns
string

Implements eZ\Publish\Core\MVC\Symfony\SiteAccess\URILexer.

eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\Map\URI::getName ( )

Returns the matcher's name.

This information will be stored in the SiteAccess object itself to quickly be able to identify the matcher type.

Returns
string

Implements eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher.

eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\Map\URI::setRequest ( SimplifiedRequest  $request)

Injects the request object to match against.

Parameters
\eZ\Publish\Core\MVC\Symfony\Routing\SimplifiedRequest$request
Returns
void

Implements eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher.


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