메소드 | 설명 | |
---|---|---|
__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 | |
리턴 |
public getPageHandlers ( ) : array | ||
리턴 | array |
public unregisterPageHandler ( string $identifier ) : void | ||
$identifier | string | The page type identifier |
리턴 | void |