Located in /Zend/Acl/Permission.php (line 29)
Returns the contents of the selected permission
Returns a score for the selected permission
The score is factored according to an exact match for an ARO (3), a match for an inherited ARO (2) or a match for an any/all ARO (1).
Sets contexts for a permission
$type represents either an 'allow' or 'deny' $values represents the contexts allowed for the permission type and can be supplied as a string or an array of values $aro can be either a string id or an array of values to represent multiple aros (and their inherited permissions) $mode is provided as either set, add or remove
If $values contains the magic value Zend_Acl::ACO_CATCHALL then all nominated aros will provide an explicit match for the permission type. Otherwise, as each context is set, the opposite is checked for to ensure no deadlocks for permissions
E.g. If 'admin' is provided for 'allow', then 'admin' will be removed from 'deny' if it exists for the selected aro(s)
Parses context value
Ensures that the magic Zend_Acl::ACO_CATCHALL value is returned as a single array (as it overrides all other explicit contexts) if exists. Otherwise cast the value(s) as an array for storage.
Returns a score factor for the selected Aro
Ensures that a specific permission context is assigned a higher score than an inherited permission
Returns the inverse to the permission type
Documentation generated on Sun, 29 Oct 2006 21:28:00 -0600 by phpDocumentor 1.3.0RC6