Access Control Object
$_tree protected arrayarray__construct( array $rules array() )
Constructor
$rules optional array() access( string $aro , string $aco , string $action , string $type 'deny' )
allow/deny ARO access to ARO
$aro $aco $action $type optional 'deny' build( array $allow , array $deny array() )
build a tree representation from the given allow/deny informations for ACO paths
$allow $deny optional array() path( string $aco )
return path to the requested ACO with allow and deny rules attached on each level
$aco resolve( string $aco )
resolve given ACO string to a path
$aco public static array
map modifiers for ACO paths to their respective PCRE pattern
array(
'*' => '.*',
)
© 2005–2016 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
http://api.cakephp.org/2.8/class-PhpAco.html