Свойство | Тип | Описание | |
---|---|---|---|
$base_url |
Метод | Описание | |
---|---|---|
dispatch_request ( ) | Handle the requested action by firing off the matched handler action(s) | |
get_action ( ) : string | Returns the action | |
get_base_url ( ) : string | Returns the base URL | |
get_full_url ( ) : string | Returns the full requested URL | |
get_handler ( ) : |
Returns the action handler | |
get_handler_vars ( ) : array | Returns the action handler's variables | |
get_matched_rule ( ) : |
A convenience method for returning the rewrite rule that matches the requested URL | |
get_request_obj ( ) : stdClass | Get an object that represents the request made | |
get_stub ( ) : string | Returns the stub in its entirety | |
get_var ( string $name, mixed $default = null ) : mixed | A convenience method for returning a handler variable (handler_var). | |
parse_request ( ) | Parses the requested URL. Automatically translates URLs coming in from mod_rewrite and parses out any action and parameters in the slug. |
Метод | Описание | |
---|---|---|
instance ( ) | Enables singleton working properly |
public static dispatch_request ( ) |
public static get_action ( ) : string | ||
Результат | string | name of action |
public static get_base_url ( ) : string | ||
Результат | string | base URL |
public static get_full_url ( ) : string | ||
Результат | string | The full requested URL |
public static get_handler ( ) : |
||
Результат | handler object |
public static get_handler_vars ( ) : array | ||
Результат | array | variables used by handler |
public static get_matched_rule ( ) : |
||
Результат | The rule that matches the requested URL |
public static get_request_obj ( ) : stdClass | ||
Результат | stdClass | An object with properties named after rewrite rules, which are true if those rules were used to handle the current request |
protected static instance ( ) |
public static parse_request ( ) |