Property | Type | Description | |
---|---|---|---|
$Acl | AclComponent | Contains instance of AclComponent | |
$args | array | Contains arguments parsed from the command line. | |
$dataSource | string | Contains database source to use | |
$rootNode | string | Root node name. |
Property | Type | Description | |
---|---|---|---|
$_clean | boolean | Internal Clean Actions switch |
Method | Description | |
---|---|---|
aco_sync ( $params = [] ) : void | Sync the ACO table | |
aco_update ( $params = [] ) : void | Updates the Aco Tree with new controller actions. | |
err ( $msg ) | ||
getControllerList ( string $plugin = null ) : array | Get a list of controllers in the app and plugins. | |
out ( $msg ) | ||
recover ( ) : void | Recover an Acl Tree | |
startup ( $controller = null ) : void | Start up And load Acl Component / Aco model | |
verify ( ) : void | Verify a Acl Tree |
Method | Description | |
---|---|---|
_checkMethods ( $className, $controllerName, array $node, $pluginPath = false ) : void | Check and Add/delete controller Methods | |
_checkNode ( string $path, string $alias, integer $parentId = null ) : array | Check a node for existance, create it if it doesn't exist. | |
_getCallbacks ( $className ) | Get a list of registered callback methods | |
_updateControllers ( array $root, array $controllers, string $plugin = null ) : void | Updates a collection of controllers. |
protected _checkMethods ( $className, $controllerName, array $node, $pluginPath = false ) : void | ||
$node | array | |
return | void |
protected _getCallbacks ( $className ) |
public aco_update ( $params = [] ) : void | ||
return | void |
public getControllerList ( string $plugin = null ) : array | ||
$plugin | string | Name of plugin to get controllers for |
return | array |
public AclComponent $Acl | ||
return | AclComponent |
public array $args | ||
return | array |
public string $dataSource | ||
return | string |