HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
RGenerator Class Reference

Public Member Functions

 init ()
 run ()
 addItems ($items, $type)
 getControllerActions ($items=null)

Public Attributes

 $db

Protected Member Functions

 getAllControllers ()
 getControllersInPath ($path)
 getControllersInModules ($path)

Private Attributes

 $_authManager
 $_items

Detailed Description

Rights generator component class file.

Author
Christoffer Niska cnisk.nosp@m.a@li.nosp@m.ve.co.nosp@m.m
Since
0.9.8

Definition at line 10 of file RGenerator.php.

Member Function Documentation

RGenerator::addItems (   $items,
  $type 
)

Appends items to be generated of a specific type.

Parameters
array$itemsthe items to be generated.
integer$typethe item type.

Definition at line 85 of file RGenerator.php.

RGenerator::getAllControllers ( )
protected

Returns a list of all application controllers.

Returns
array the controllers.

Definition at line 139 of file RGenerator.php.

Here is the call graph for this function:

Here is the caller graph for this function:

RGenerator::getControllerActions (   $items = null)

Returns all the controllers and their actions.

Parameters
array$itemsthe controllers and actions.

Definition at line 101 of file RGenerator.php.

Here is the call graph for this function:

RGenerator::getControllersInModules (   $path)
protected

Returns all the controllers under the specified path.

Parameters
string$paththe path.
Returns
array the controllers.

Definition at line 192 of file RGenerator.php.

Here is the call graph for this function:

Here is the caller graph for this function:

RGenerator::getControllersInPath (   $path)
protected

Returns all controllers under the specified path.

Parameters
string$paththe path.
Returns
array the controllers.

Definition at line 155 of file RGenerator.php.

Here is the caller graph for this function:

RGenerator::init ( )

Initializes the generator.

Definition at line 23 of file RGenerator.php.

RGenerator::run ( )

Runs the generator.

Returns
the items generated or false if failed.

Definition at line 36 of file RGenerator.php.

Member Data Documentation

RGenerator::$_authManager
private

Definition at line 12 of file RGenerator.php.

RGenerator::$_items
private

Definition at line 13 of file RGenerator.php.

RGenerator::$db

Definition at line 18 of file RGenerator.php.


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