.

UintParameterizedRouteHandler Class Reference
[Controller]

Handle unsigned int (the "ui" type). More...

Inheritance diagram for UintParameterizedRouteHandler:
IParameterizedRouteHandler

List of all members.

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 unsigned int (the "ui" type).

Author:
Gerd Riesselmann

Definition at line 8 of file uint.handler.php.


Member Function Documentation

UintParameterizedRouteHandler::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 14 of file uint.handler.php.

00014                                        {
00015                 return "ui";
00016         }
UintParameterizedRouteHandler::get_validate_regex ( params  ) 

Return regex to validate path.

Implements IParameterizedRouteHandler.

Definition at line 21 of file uint.handler.php.

00021                                                     {
00022                 return '[0-9][0-9]*';
00023         }
UintParameterizedRouteHandler::preprocess_build_url ( value  ) 

Preprocess a value before URL is build.

Implements IParameterizedRouteHandler.

Definition at line 28 of file uint.handler.php.

00028                                                      {
00029                 return $value;
00030         }

The documentation for this class was generated from the following file: