Метод | Описание | |
---|---|---|
__construct ( integer | array $elementNumber ) | Constructor. | |
__sleep ( ) | ||
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 ( ) : |
||
match ( ) : string | false | Returns matching Siteaccess. | |
reverseMatch ( string $siteAccessName ) : |
Returns matcher object corresponding to $siteAccessName or null if non applicable. | |
setRequest ( |
Injects the request object to match against. |
Метод | Описание | |
---|---|---|
getURIElements ( ) : array | Returns URI elements as an array. |
public __construct ( integer | array $elementNumber ) | ||
$elementNumber | integer | array | Number of elements to take into account. |
public analyseLink ( string $linkUri ) : string | ||
$linkUri | string | |
Результат | string | The modified link URI |
public analyseURI ( string $uri ) : string | ||
$uri | string | The original URI |
Результат | string | The modified URI |
public getRequest ( ) : |
||
Результат |
protected getURIElements ( ) : array | ||
Результат | array |
public reverseMatch ( string $siteAccessName ) : |
||
$siteAccessName | string | |
Результат |
public setRequest ( |
||
$request |