CatchAllRoute Class Reference
[Controller]
Process all URLs that no one seems responsible for. More...
Inheritance diagram for CatchAllRoute:
Public Member Functions |
|
weight_against_path ($path) | |
Weights first path against the second.
|
Detailed Description
Process all URLs that no one seems responsible for.
Definition at line 10 of file catchallroute.cls.php.
Member Function Documentation
CatchAllRoute::weight_against_path | ( | $ | path | ) |
Weights first path against the second.
Always returns a high number. The return value is smaller the better the match is. 0 indicates a perfect match
Reimplemented from RouteBase.
Definition at line 17 of file catchallroute.cls.php.
00017 { 00018 $tmp = trim($path, '/'); 00019 if (!empty($tmp)) { 00020 $this->path_further = explode('/', $tmp); 00021 } 00022 00023 return self::WEIGHT_NO_MATCH - 1; 00024 }
The documentation for this class was generated from the following file:
- gyro/core/controller/base/routes/catchallroute.cls.php