Public Member Functions | |
init () | |
run () | |
addItems ($items, $type) | |
getControllerActions ($items=null) |
Public Attributes | |
$db |
Protected Member Functions | |
getAllControllers () | |
getControllersInPath ($path) | |
getControllersInModules ($path) |
Rights generator component class file.
Definition at line 9 of file RGenerator.php.
RGenerator::addItems | ( | $items, | |
$type | |||
) |
Appends items to be generated of a specific type.
array | $items | the items to be generated. |
integer | $type | the item type. |
Definition at line 86 of file RGenerator.php.
|
protected |
Returns a list of all application controllers.
Definition at line 137 of file RGenerator.php.
References getControllersInModules(), and getControllersInPath().
Referenced by getControllerActions().
RGenerator::getControllerActions | ( | $items = null | ) |
Returns all the controllers and their actions.
array | $items | the controllers and actions. |
Definition at line 99 of file RGenerator.php.
References getAllControllers().
|
protected |
Returns all the controllers under the specified path.
string | $path | the path. |
Definition at line 187 of file RGenerator.php.
References getControllersInPath().
Referenced by getAllControllers().
|
protected |
Returns all controllers under the specified path.
string | $path | the path. |
Definition at line 150 of file RGenerator.php.
Referenced by getAllControllers(), and getControllersInModules().
RGenerator::init | ( | ) |
Initializes the generator.
Definition at line 22 of file RGenerator.php.
RGenerator::run | ( | ) |
Runs the generator.
Definition at line 34 of file RGenerator.php.