Located in /Zend/Acl.php (line 41)
Class constructor
A reference to the parent object is created if supplied.
Sets allow permissions to the ACL
Each parameter can be a string or a numeric array of values to allow assignment to many parameters at once. The $path can use a forward slash delimeter to indicate a nested relative path
Sets deny permissions to the ACL
Returns the ACL's child nodes
Returns deny permissions for the current ACL
Returns the ACL's path
Returns an array of AROs that can access the ACL
This function will determine which AROs - from either a list of AROs or the entire ARO registry - have access to the current ARO.
AROs can be supplied either an an ARO object, an array of ARO objects, a string id or an array of string ids. If the ARO parameter is left empty then the ARO registry is used to return all members.
To allow fine-grain control, a specific context can also be used to validate the AROs
An array of ARO objects is returned upon success or empty
Removes an ACL node
If a path is provided and exists, it will be destroyed. If no path is provided then the current ACL will instead be removed from its parent (if the current ACL is not root)
Removes allow permissions from the ACL
Removes explicit allow permissions from the ACL whilst retaining existing values. If no $value is passed, all explicit permissions are removed.
Removes an ARO from current node and all children
Removes deny permissions from the ACL
Test permissions for a path
Retrieve permissions for an ACO based on the ARO, current context and an optional path. The optional path parameter allows for a top-down search from a root - if not supplied, then this instance is used as a target. A 'null' context will return true if no explicit permissions are set to 'deny' for the specified group on the target ACO.
Creates new 'virtual' ACLs to target (nonexistent) path
Creates child paths from current ACO to destination ACO
$path uses a forward slash to denote a nested path (@see setAllow()). If the target path does not exist, a new empty ACL is created.
Retrieves permissions for a container
Determines if the current ACL is root
Retrieves an array of ARO objects for the selected id
Adds permissions to one or more permission containers
This method is responsible for passing contexts and groups to each individual permissions container for processing. The $mode determines if those contexts are to be set, added or removed
Removes an ARO from current node and all children
Retrieve reference to ACO via 'path' property
If the path exists then return a reference to it, otherwise return a reference to self. This means that permissions can be implied for a path rather than explicitly set (they infer an inherited permission).
Magic catch-all keyword
Default group id
Modes for adding permissions to a permission container
Default path
Default delimiter for paths
Default permission in case of final neutral result
Documentation generated on Sun, 29 Oct 2006 21:27:50 -0600 by phpDocumentor 1.3.0RC6