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

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

Public Methods

Method 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

Method Description
getHostElements ( ) : array

Method Details

__construct() public method

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

__sleep() public method

public __sleep ( )

getName() public method

public getName ( )

getRequest() public method

public getRequest ( )

match() public method

Returns matching Siteaccess.
public match ( ) : string | false
return string | false Siteaccess matched or false.

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