AnsistringParameterizedRouteHandler Class Reference
[Controller]
Handle ansi string (the "sp" type). More...
Inheritance diagram for
AnsistringParameterizedRouteHandler:
Public Member Functions |
|
get_type_key () | |
Returns the key that is used to identify
this handler in route declaration, e.g. |
|
get_validate_regex ($params) | |
Return regex to validate path. |
|
preprocess_build_url ($value) | |
Preprocess a value before URL is build.
|
Detailed Description
Handle ansi string (the "sp" type).
- Since:
- 0.5.1
Definition at line 10 of file ansistring.handler.php.
Member Function Documentation
AnsistringParameterizedRouteHandler::get_type_key | ( | ) |
Returns the key that is used to identify this handler in route declaration, e.g.
"s" or "ui>"
- Returns:
- string
Implements IParameterizedRouteHandler.
Definition at line 16 of file ansistring.handler.php.
AnsistringParameterizedRouteHandler::get_validate_regex | ( | $ | params | ) |
Return regex to validate path.
Implements IParameterizedRouteHandler.
Definition at line 23 of file ansistring.handler.php.
AnsistringParameterizedRouteHandler::preprocess_build_url | ( | $ | value | ) |
Preprocess a value before URL is build.
Implements IParameterizedRouteHandler.
Definition at line 35 of file ansistring.handler.php.
00035 { 00036 return String::plain_ascii($value, '-', true); 00037 }
The documentation for this class was generated from the following file:
- gyro/core/controller/base/routes/parameterizedroutehandlers/ansistring.handler.php