PHP Class Acl_Assert_Argument, ACL
Possible use when you want to check if the resource object has a user_id attribute
with the same value of the role object (a user object).
The assertion object requires an array of KEY => VALUE pairs, where the KEYs refer
to role attributes, and VALUEs to resource attributes.
For example new Acl_Assert_Argument(array('primary_key_value'=>'user_id'));
Show file
Open project: wouterrr/acl
Protected Properties
Public Methods
Method |
Description |
|
__construct ( $arguments ) |
|
|
assert ( Acl $acl, $role = null, $resource = null, $privilege = null ) |
|
|
Method Details
__construct()
public method
public assert ( Acl $acl, $role = null, $resource = null, $privilege = null ) |
$acl |
Acl |
|
Property Details
$_arguments protected property