ACL Extension
0.3
|
Public Member Functions | |
branchNodeSubTree ($source, $destination) | |
getOwnPath () | |
__clone () | |
![]() | |
afterSave () | |
afterDelete () | |
getDirectChildren () | |
getDirectParents () |
Protected Member Functions | |
removeFullRecursively () | |
takeOverPermissions ($node) | |
generateDirectChildrenCondition () | |
generateDirectParentCondition () | |
![]() | |
takeOverSubTree (PmAclNode $node) |
Definition at line 10 of file PmAclNode.php.
__clone | ( | ) |
Reimplemented from AclNode.
Definition at line 123 of file PmAclNode.php.
branchNodeSubTree | ( | $source, | |
$destination | |||
) |
Copies all children of $source recursively into $destination This branching is necessary because: If an AclObject is a child of another one, every AclNode of the parent object has to have one AclNode of the child AclObject as it's child (this is due to the lookup-mechanism this extension uses) If a new AclNode is created (for example because the parent object itself joins another object), the subtree of an existing node is copied to the new node
In fact "copied" is the wrong term, because each node isn't cloned but a surrogate is created which is in fact another object - but a node of the same AclObject having the same children as the original one.
public
Reimplemented from AclNode.
Definition at line 71 of file PmAclNode.php.
|
protected |
Generates the condition matching the direct AclNodes of this node
Reimplemented from AclNode.
Definition at line 91 of file PmAclNode.php.
|
protected |
Generates the condition matching the direct parent AclNodes of this node
Reimplemented from AclNode.
Definition at line 103 of file PmAclNode.php.
getOwnPath | ( | ) |
Gets the path of this node including itself
Definition at line 118 of file PmAclNode.php.
|
protected |
Removes all child-nodes and their associated permissions
RuntimeException |
Reimplemented from AclNode.
Definition at line 16 of file PmAclNode.php.
|
protected |
This method copies all permissions assigned to another AclNode-Object of the same AclObject
AclNode | the node to take the permissions from |
Reimplemented from AclNode.
Definition at line 43 of file PmAclNode.php.