.

PuintParameterizedRouteHandler Class Reference
[Controller]

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

Inheritance diagram for PuintParameterizedRouteHandler:
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 positive unsigned int (the "ui>" type).

Author:
Gerd Riesselmann

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


Member Function Documentation

PuintParameterizedRouteHandler::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 puint.handler.php.

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

Return regex to validate path.

Implements IParameterizedRouteHandler.

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

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

Preprocess a value before URL is build.

Implements IParameterizedRouteHandler.

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

00028                                                      {
00029                 return $value;
00030         }

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