Property | Type | Description | |
---|---|---|---|
$Acl | Contains instance of AclComponent | ||
$args | array | Contains arguments parsed from the command line. | |
$connection | string | Contains database source to use | |
$tasks | array | Contains tasks to load and instantiate |
Method | Description | |
---|---|---|
check ( ) : void | Check permission for a given ARO to a given ACO. | |
create ( ) : void | Creates an ARO/ACO node | |
delete ( ) : void | Delete an ARO/ACO node. | |
deny ( ) : void | Deny access for an ARO to an ACO. | |
getOptionParser ( ) : ConsoleOptionParser | Gets the option parser instance and configures it. | |
getPath ( ) : void | Get path to specified ARO/ACO node. | |
grant ( ) : void | Grant permission for a given ARO to a given ACO. | |
inherit ( ) : void | Set an ARO to inherit permission to an ACO. | |
main ( ) : void | Override main() for help message hook | |
nodeExists ( ) : boolean | Checks that given node exists | |
parseIdentifier ( string $identifier ) : mixed | Parse an identifier into Model.foreignKey or an alias. | |
setParent ( ) : void | Set parent for an ARO/ACO node. | |
startup ( ) : void | Override startup of the Shell | |
view ( ) : void | Show a specific ARO/ACO node. |
Method | Description | |
---|---|---|
_dataVars ( string $type = null ) : array | Build data parameters based on node type | |
_getNodeId ( string $class, string | array $identifier ) : integer | null | Get the node for a given identifier. $identifier can either be a string alias or an array of properties to use in AcoNode::node() | |
_getParams ( ) : array | get params for standard Acl methods | |
_outputNode ( string $class, array $node, integer $indent ) : void | Outputs a single node, Either using the alias or Model.key |
protected _getParams ( ) : array | ||
return | array | aro, aco, action |
public getOptionParser ( ) : ConsoleOptionParser | ||
return | ConsoleOptionParser |
public nodeExists ( ) : boolean | ||
return | boolean | Success |
public parseIdentifier ( string $identifier ) : mixed | ||
$identifier | string | Identifier to parse |
return | mixed | a string for aliases, and an array for model.foreignKey |
public AclComponent,Acl\Controller\Component $Acl | ||
return |
public array $args | ||
return | array |