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'));
Inheritance: implements Acl_Assert_Interface
Mostra file Open project: wouterrr/acl

Protected Properties

Property Type Description
$_arguments

Public Methods

Method Description
__construct ( $arguments )
assert ( Acl $acl, $role = null, $resource = null, $privilege = null )

Method Details

__construct() public method

public __construct ( $arguments )

assert() public method

public assert ( Acl $acl, $role = null, $resource = null, $privilege = null )
$acl Acl

Property Details

$_arguments protected_oe property

protected $_arguments