LetterParameterizedRouteHandler Class Reference
Handle a single, lowercase letter (sl-type). More...
Inheritance diagram for
LetterParameterizedRouteHandler:
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 a single, lowercase letter (sl-type).
Use like this: /route/{letter:sl}
Definition at line 10 of file letter.handler.php.
Member Function Documentation
LetterParameterizedRouteHandler::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 letter.handler.php.
LetterParameterizedRouteHandler::get_validate_regex | ( | $ | params | ) |
Return regex to validate path.
Implements IParameterizedRouteHandler.
Definition at line 23 of file letter.handler.php.
LetterParameterizedRouteHandler::preprocess_build_url | ( | $ | value | ) |
Preprocess a value before URL is build.
Implements IParameterizedRouteHandler.
Definition at line 30 of file letter.handler.php.
00030 { 00031 return String::to_lower($value); 00032 }
The documentation for this class was generated from the following file:
- contributions/widgets.alphalist/controller/base/routes/parameterizedroutehandlers/letter.handler.php