PHP 클래스 eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\Regex

상속: implements eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$element string Element that will be matched against the regex.
$itemNumber string Item number to pick in regex.
$matchedSiteAccess string
$regex string Regular expression used for matching.
$request eZ\Publish\Core\MVC\Symfony\Routing\SimplifiedRequest

공개 메소드들

메소드 설명
__construct ( string $regex, integer $itemNumber ) Constructor.
__sleep ( )
match ( )
setMatchElement ( string $element ) Injects element to match against with the regexp.
setRequest ( SimplifiedRequest $request ) Injects the request object to match against.

보호된 메소드들

메소드 설명
getMatchedSiteAccess ( ) : string | boolean Returns matched SiteAccess.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( string $regex, integer $itemNumber )
$regex string Regular Expression to use.
$itemNumber integer Item number to pick in regex.

__sleep() 공개 메소드

public __sleep ( )

getMatchedSiteAccess() 보호된 메소드

Returns matched SiteAccess.
protected getMatchedSiteAccess ( ) : string | boolean
리턴 string | boolean

match() 공개 메소드

public match ( )

setMatchElement() 공개 메소드

Injects element to match against with the regexp.
public setMatchElement ( string $element )
$element string

setRequest() 공개 메소드

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

프로퍼티 상세

$element 보호되어 있는 프로퍼티

Element that will be matched against the regex.
protected string $element
리턴 string

$itemNumber 보호되어 있는 프로퍼티

Item number to pick in regex.
protected string $itemNumber
리턴 string

$matchedSiteAccess 보호되어 있는 프로퍼티

protected string $matchedSiteAccess
리턴 string

$regex 보호되어 있는 프로퍼티

Regular expression used for matching.
protected string $regex
리턴 string

$request 보호되어 있는 프로퍼티

protected SimplifiedRequest,eZ\Publish\Core\MVC\Symfony\Routing $request
리턴 eZ\Publish\Core\MVC\Symfony\Routing\SimplifiedRequest