Méthode | Description | |
---|---|---|
__construct ( |
Constructor | |
allowRewrite ( |
Filter a request through the route:rewrite hook | |
getPageHandlers ( ) : array | Get page handlers as array of identifier => callback | |
registerPageHandler ( string $identifier, string $function ) : boolean | Register a function that gets called when the first part of a URL is equal to the identifier. | |
route ( |
Routes the request to a registered page handler | |
unregisterPageHandler ( string $identifier ) : void | Unregister a page handler for an identifier |
public __construct ( |
||
$hooks | For customized routing. |
public allowRewrite ( |
||
$request | Elgg request | |
Résultat |
public getPageHandlers ( ) : array | ||
Résultat | array |
public unregisterPageHandler ( string $identifier ) : void | ||
$identifier | string | The page type identifier |
Résultat | void |