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
Afficher le fichier Open project: ezsystems/ezpublish-kernel Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

analyseURI() public méthode

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

getName() public méthode

public getName ( )

getRequest() public méthode

public getRequest ( )

reverseMatch() public méthode

public reverseMatch ( $siteAccessName )

setRequest() public méthode

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