PHP Class Acl\Shell\AclExtrasShell

Inheritance: extends Cake\Console\Shell
Show file Open project: cakephp/acl

Public Properties

Property Type Description
$AclExtras Cake\Acl\AclExtras AclExtras instance
$args array Contains arguments parsed from the command line.

Public Methods

Method Description
__construct ( ConsoleIo $io = null ) Constructor
acoSync ( ) : void Sync the ACO table
acoUpdate ( ) : void Updates the Aco Tree with new controller actions.
getOptionParser ( ) : Cake\Console\ConsoleOptionParser Get the option parser for this shell.
recover ( ) : void Recover an Acl Tree
startup ( ) : void Start up And load Acl Component / Aco model

Method Details

__construct() public method

Constructor
public __construct ( ConsoleIo $io = null )
$io Cake\Console\ConsoleIo An io instance.

acoSync() public method

Sync the ACO table
public acoSync ( ) : void
return void

acoUpdate() public method

Updates the Aco Tree with new controller actions.
public acoUpdate ( ) : void
return void

getOptionParser() public method

Get the option parser for this shell.
public getOptionParser ( ) : Cake\Console\ConsoleOptionParser
return Cake\Console\ConsoleOptionParser

recover() public method

Recover an Acl Tree
public recover ( ) : void
return void

startup() public method

Start up And load Acl Component / Aco model
public startup ( ) : void
return void

Property Details

$AclExtras public property

AclExtras instance
public AclExtras,Cake\Acl $AclExtras
return Cake\Acl\AclExtras

$args public property

Contains arguments parsed from the command line.
public array $args
return array