Method | Description | |
---|---|---|
__construct ( array $params = null ) | Class constructor | |
checkAccessToken ( Imbo\EventManager\EventInterface $event ) | ||
getSubscribedEvents ( ) |
Method | Description | |
---|---|---|
getAlternativeURL ( string $url, integer $encoding = PHP_QUERY_RFC3986 ) : string | Helper method to generate an alternative form of an URL, where array indices have either been added or removed. foo[] is transformed into foo[0], while foo[0] is transformed into foo[]. | |
getEscapedAlternativeURL ( $url ) : string | Generate an escaped, alternative version of an url. | |
getUnescapedAlternativeURL ( $url ) : string | Generate an unescaped, alternative version of an url. |
Method | Description | |
---|---|---|
isWhitelisted ( |
Check if the request is whitelisted |
public __construct ( array $params = null ) | ||
$params | array | Parameters for the listener |
public checkAccessToken ( Imbo\EventManager\EventInterface $event ) | ||
$event | Imbo\EventManager\EventInterface |
protected getEscapedAlternativeURL ( $url ) : string | ||
$url | string The URL to generate the alternative version of | |
return | string |
protected getUnescapedAlternativeURL ( $url ) : string | ||
$url | string The URL to generate the alternative version of | |
return | string |