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
Afficher le fichier Open project: wouterrr/acl

Protected Properties

Свойство Type Description
$_arguments

Méthodes publiques

Méthode Description
__construct ( $arguments )
assert ( Acl $acl, $role = null, $resource = null, $privilege = null )

Method Details

__construct() public méthode

public __construct ( $arguments )

assert() public méthode

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

Property Details

$_arguments protected_oe property

protected $_arguments