Public Member Functions | |
__construct ($route) | |
match (HttpRequest $request) | |
Matches a user submitted path with parts defined by a map. | |
assembly (array $data=array(), $reset=false, $encode=false) | |
Static Public Member Functions | |
static | create ($route) |
Protected Attributes | |
$route = null |
Definition at line 12 of file RouterStaticRule.class.php.
RouterStaticRule::__construct | ( | $ | route | ) |
Definition at line 24 of file RouterStaticRule.class.php.
References $route.
RouterStaticRule::assembly | ( | array $ | data = array() , |
|
$ | reset = false , |
|||
$ | encode = false | |||
) |
Implements RouterRule.
Definition at line 41 of file RouterStaticRule.class.php.
static RouterStaticRule::create | ( | $ | route | ) | [static] |
Definition at line 19 of file RouterStaticRule.class.php.
References $route.
RouterStaticRule::match | ( | HttpRequest $ | request | ) |
Matches a user submitted path with parts defined by a map.
Assigns and returns an array of variables on a successful match.
Implements RouterRule.
Definition at line 30 of file RouterStaticRule.class.php.
References RouterBaseRule::processPath().
RouterStaticRule::$route = null [protected] |
Definition at line 14 of file RouterStaticRule.class.php.
Referenced by __construct(), and create().