PHP 인터페이스 eZ\Publish\Core\MVC\Symfony\SiteAccess\VersatileMatcher
VersatileMatcher makes it possible to do a reverse match (e.g. "Is this matcher knows provided SiteAccess name?").
Versatile matchers enable cross-siteAccess linking.
파일 보기
프로젝트 열기: ezsystems/ezpublish-kernel
공개 메소드들
메소드 |
설명 |
|
getRequest ( ) : SimplifiedRequest |
Returns the SimplifiedRequest object corresponding to the reverse match. |
|
reverseMatch ( string $siteAccessName ) : eZ\Publish\Core\MVC\Symfony\SiteAccess\VersatileMatcher | null |
Returns matcher object corresponding to $siteAccessName or null if non applicable. |
|
메소드 상세
This request object can then be used to build a link to the "reverse matched" SiteAccess.
public getRequest ( ) : SimplifiedRequest |
리턴 |
eZ\Publish\Core\MVC\Symfony\Routing\SimplifiedRequest |
|
Note: VersatileMatcher objects always receive a request with cleaned up pathinfo (i.e. no SiteAccess part inside).
public reverseMatch ( string $siteAccessName ) : eZ\Publish\Core\MVC\Symfony\SiteAccess\VersatileMatcher | null |
$siteAccessName |
string |
|
리턴 |
eZ\Publish\Core\MVC\Symfony\SiteAccess\VersatileMatcher | null |
Typically the current matcher, with updated request. |