DB_ACL Class Reference

Inheritance diagram for DB_ACL:

AclBase Object

List of all members.


Public Member Functions

 _getAcoKeys ($keys)
 allow ($aro, $aco, $action="*", $value=1)
 check ($aro, $aco, $action="*")
 deny ($aro, $aco, $action="*")
 getAclLink ($aro, $aco)
 getAco ($id=null)
 getAro ($id=null)
 grant ($aro, $aco, $action="*")
 inherit ($aro, $aco, $action="*")
 revoke ($aro, $aco, $action="*")

Detailed Description

Definition at line 44 of file db_acl.php.


Member Function Documentation

DB_ACL::_getAcoKeys ( keys  ) 

Enter description here...

Parameters:
object $keys
Returns:
array protected

Definition at line 298 of file db_acl.php.

Referenced by allow(), and check().

DB_ACL::allow ( aro,
aco,
action = "*",
value = 1 
)

Enter description here...

Parameters:
string $aro
string $aco
string $action
integer $value
Returns:
boolean public

Definition at line 134 of file db_acl.php.

References _getAcoKeys(), aco, aro, and getAclLink().

Referenced by deny(), grant(), and inherit().

DB_ACL::check ( aro,
aco,
action = "*" 
)

Enter description here...

Parameters:
string $aro
string $aco
string $action
Returns:
boolean public

Reimplemented from AclBase.

Definition at line 60 of file db_acl.php.

References _getAcoKeys(), and permissions.

DB_ACL::deny ( aro,
aco,
action = "*" 
)

Enter description here...

Parameters:
string $aro
string $aco
string $action
Returns:
boolean public

Definition at line 181 of file db_acl.php.

References allow().

Referenced by revoke().

DB_ACL::getAclLink ( aro,
aco 
)

Get an array of access-control links between the given Aro and Aco

Parameters:
mixed $aro
mixed $aco
Returns:
array public

Definition at line 271 of file db_acl.php.

References aco, and aro.

Referenced by allow().

DB_ACL::getAco ( id = null  ) 

Get an ACO object from the given id or alias

Parameters:
mixed $id
Returns:
object Aco public

Definition at line 237 of file db_acl.php.

DB_ACL::getAro ( id = null  ) 

Get an ARO object from the given id or alias

Parameters:
mixed $id
Returns:
object Aro public

Definition at line 227 of file db_acl.php.

DB_ACL::grant ( aro,
aco,
action = "*" 
)

Enter description here...

Parameters:
string $aro
string $aco
string $action
Returns:
boolean public

Definition at line 205 of file db_acl.php.

References allow().

DB_ACL::inherit ( aro,
aco,
action = "*" 
)

Enter description here...

Parameters:
string $aro
string $aco
string $action
Returns:
boolean public

Definition at line 193 of file db_acl.php.

References allow().

DB_ACL::revoke ( aro,
aco,
action = "*" 
)

Enter description here...

Parameters:
string $aro
string $aco
string $action
Returns:
boolean public

Definition at line 217 of file db_acl.php.

References deny().


The documentation for this class was generated from the following file: