ConsoleRouter Class Reference
[Console]
Router for route invoked in Console. More...
Inheritance diagram for ConsoleRouter:
Public Member Functions |
|
__construct ($path, $class_instantiater) | |
Protected Member Functions |
|
get_path () | |
Returns the current path, preprocessed.
|
|
Protected Attributes |
|
$path |
Detailed Description
Router for route invoked in Console.
Definition at line 8 of file consolerouter.cls.php.
Constructor & Destructor Documentation
ConsoleRouter::__construct | ( | $ | path, | |
$ | class_instantiater | |||
) |
Definition at line 11 of file consolerouter.cls.php.
00011 { 00012 $this->path = $path; 00013 parent::__construct($class_instantiater); 00014 }
Member Function Documentation
ConsoleRouter::get_path | ( | ) | [protected] |
Returns the current path, preprocessed.
If index page is invoked, '.' is returned
- Returns:
- string The current path, e.g. path/to/page
Reimplemented from RouterBase.
Definition at line 24 of file consolerouter.cls.php.
Member Data Documentation
ConsoleRouter::$path
[protected] |
Definition at line 9 of file consolerouter.cls.php.
The documentation for this class was generated from the following file:
- gyro/modules/console/controller/base/consolerouter.cls.php