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

Inheritance: implements eZ\Publish\Core\MVC\Symfony\SiteAccess\VersatileMatcher
Afficher le fichier Open project: ezsystems/ezpublish-kernel Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( array | integer $elementNumber ) Constructor.
__sleep ( )
getName ( )
getRequest ( )
match ( ) : string | false Returns matching Siteaccess.
reverseMatch ( $siteAccessName )
setRequest ( SimplifiedRequest $request ) Injects the request object to match against.

Private Methods

Méthode Description
getHostElements ( ) : array

Method Details

__construct() public méthode

Constructor.
public __construct ( array | integer $elementNumber )
$elementNumber array | integer Number of elements to take into account.

__sleep() public méthode

public __sleep ( )

getName() public méthode

public getName ( )

getRequest() public méthode

public getRequest ( )

match() public méthode

Returns matching Siteaccess.
public match ( ) : string | false
Résultat string | false Siteaccess matched or false.

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