eZPublishCommunityProject  2013.4
eZ\Publish\Core\MVC\Symfony\SiteAccess\URILexer Interface Reference

Interface for SiteAccess matchers that need to alter the URI after matching. More...

+ Inheritance diagram for eZ\Publish\Core\MVC\Symfony\SiteAccess\URILexer:

Public Member Functions

 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)
 Analyses $uri and removes the siteaccess part, if needed. More...
 

Detailed Description

Interface for SiteAccess matchers that need to alter the URI after matching.

This is useful when you have the siteaccess in the URI like "/<siteaccessName>/my/awesome/uri"

Member Function Documentation

eZ\Publish\Core\MVC\Symfony\SiteAccess\URILexer::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

Implemented in eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\URIElement, eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\Compound, and eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\Map\URI.

eZ\Publish\Core\MVC\Symfony\SiteAccess\URILexer::analyseURI (   $uri)

Analyses $uri and removes the siteaccess part, if needed.

Parameters
string$uriThe original URI
Returns
string The modified URI

Implemented in eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\URIElement, eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\Compound, and eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\Map\URI.


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