PHP Class eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\URIText

Inheritance: extends Regex, implements eZ\Publish\Core\MVC\Symfony\SiteAccess\VersatileMatcher, implements eZ\Publish\Core\MVC\Symfony\SiteAccess\URILexer
Mostra file Open project: ezsystems/ezpublish-kernel Class Usage Examples

Public Methods

Method Description
__construct ( array $siteAccessesConfiguration ) Constructor.
analyseLink ( string $linkUri ) : string Analyses $linkUri when generating a link to a route, in order to have the siteaccess part back in the URI.
analyseURI ( string $uri ) : string Analyses $uri and removes the siteaccess part, if needed.
getName ( )
getRequest ( )
reverseMatch ( $siteAccessName )
setRequest ( SimplifiedRequest $request ) Injects the request object to match against.

Method Details

__construct() public method

Constructor.
public __construct ( array $siteAccessesConfiguration )
$siteAccessesConfiguration array SiteAccesses configuration.

analyseURI() public method

Analyses $uri and removes the siteaccess part, if needed.
public analyseURI ( string $uri ) : string
$uri string The original URI
return string The modified URI

getName() public method

public getName ( )

getRequest() public method

public getRequest ( )

reverseMatch() public method

public reverseMatch ( $siteAccessName )

setRequest() public method

Injects the request object to match against.
public setRequest ( SimplifiedRequest $request )
$request eZ\Publish\Core\MVC\Symfony\Routing\SimplifiedRequest