[ Index ]

PHP Cross Reference of ACL Module

title

Body

[close]

/models/ -> AclNode.php (summary)

AclNode This is the base class for all Nodes of the trees, providing basic functionality

Author: dispy <dispyfree@googlemail.com>
License: LGPLv2
File Size: 121 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 5 functions

  afterSave()
  afterDelete()
  takeOverSubTree()
  getDirectChildren()
  getDirectParents()

Functions
Functions that are not part of a class:

afterSave()   X-Ref
This will take over the permissions of another node belonging to the same
AclObject, if the record is a new one


afterDelete()   X-Ref
Runs post-deletion errands


takeOverSubTree(PmAclNode $node)   X-Ref
Copies the subtree of the given other node of the same object to this
new node

param: PmAclNode $node the node to take subtree from

getDirectChildren()   X-Ref
Returns all the direct children of the given Node

return: array[AclNode]

getDirectParents()   X-Ref
Returns the direct parent AclNodes of this node

param: AclNode node
return: array[AclNode]



Generated: Sun Jul 1 19:24:45 2012 Cross-referenced by PHPXref 0.7.1