Public Member Functions | |
| startup (&$controller) | |
| cleanFilter () | |
| getSectionsTree () | |
| Tree of publications and sections for user connected. | |
| getAreaForSection ($section_id) | |
| expandOneBranch ($id=null) | |
| Get tree with one branch expanded (the branch where object $id is). | |
| getChildren ($id=null, $status=null, $filter=false, $order=null, $dir=true, $page=1, $dim=100000) | |
| Get children for node $id. | |
| getDescendants ($id=null, $status=null, $filter=false, $order=null, $dir=true, $page=1, $dim=100000) | |
| Return descendants of a tree node. | |
| getIdFromNickname ($path) | |
| Get object id from path $path. | |
| getParents ($id=null, $area_id=null) | |
| Array of parent objects of $id. | |
| updateTree ($id, $destination) | |
| update tree position of object $id with new $destination array | |
Public Attributes | |
| $controller = null | |
| $filter = array() | |
Protected Attributes | |
| $Tree = null | |
| $BEObject = null | |
| $Section = null | |
Permits with bits representation (bedita.ini.php): BEDITA_PERMS_READ 0x1 BEDITA_PERMS_MODIFY 0x2
Definition at line 36 of file be_tree.php.
| BeTreeComponent.startup | ( | &$ | controller | ) |
| BeTreeComponent.getSectionsTree | ( | ) |
Tree of publications and sections for user connected.
Definition at line 97 of file be_tree.php.
Referenced by expandOneBranch().
| BeTreeComponent.expandOneBranch | ( | $ | id = null |
) |
Get tree with one branch expanded (the branch where object $id is).
| integer | $id |
Definition at line 122 of file be_tree.php.
References getSectionsTree().
| BeTreeComponent.getChildren | ( | $ | id = null, |
|
| $ | status = null, |
|||
| $ | filter = false, |
|||
| $ | order = null, |
|||
| $ | dir = true, |
|||
| $ | page = 1, |
|||
| $ | dim = 100000 | |||
| ) |
Get children for node $id.
| integer | $id node ID |
Definition at line 139 of file be_tree.php.
| BeTreeComponent.getDescendants | ( | $ | id = null, |
|
| $ | status = null, |
|||
| $ | filter = false, |
|||
| $ | order = null, |
|||
| $ | dir = true, |
|||
| $ | page = 1, |
|||
| $ | dim = 100000 | |||
| ) |
Return descendants of a tree node.
| integer | $id node ID |
Definition at line 157 of file be_tree.php.
| BeTreeComponent.getIdFromNickname | ( | $ | path | ) |
Get object id from path $path.
| integer | $path Path of the object to find |
Definition at line 174 of file be_tree.php.
| BeTreeComponent.getParents | ( | $ | id = null, |
|
| $ | area_id = null | |||
| ) |
Array of parent objects of $id.
..
| integer | $id |
Definition at line 183 of file be_tree.php.
Referenced by updateTree().
| BeTreeComponent.updateTree | ( | $ | id, | |
| $ | destination | |||
| ) |
update tree position of object $id with new $destination array
| integer | $id | |
| array | $destination |
Definition at line 201 of file be_tree.php.
References getParents().
BEdita 3.0.1 betula