Public Member Functions | |
__construct (&$pageId, &$userid, &$groups, &$permId, $permSet, $retrieveLinks=false) | |
getPageId () | |
getPageName () | |
getPageTitle () | |
getChild ($index) | |
getChildrenCount () | |
getPermission () | |
isRequired () |
Represents a node in a directory tree
Definition at line 19 of file tree.lib.php.
__construct | ( | &$ | pageId, | |
&$ | userid, | |||
&$ | groups, | |||
&$ | permId, | |||
$ | permSet, | |||
$ | retrieveLinks = false | |||
) |
Constructor for the DirectoryTreeNode object
$pageId | Id of the page, which the new Node object is to represent | |
$userid | User id of the current user | |
$groups | Array containing the group ids of the groups the user belongs to, sorted priority-wise | |
$permId | perm_id representing the module and the action | |
$permSet | Array of booleans representing the permission for each of the groups on the parent node | |
$retrieveLinks | Boolean indicating whether links should be retrieved |
Definition at line 100 of file tree.lib.php.
getChild | ( | $ | index | ) |
Definition at line 142 of file tree.lib.php.
getChildrenCount | ( | ) |
Definition at line 147 of file tree.lib.php.
getPageId | ( | ) |
Definition at line 130 of file tree.lib.php.
getPageName | ( | ) |
Definition at line 134 of file tree.lib.php.
getPageTitle | ( | ) |
Definition at line 138 of file tree.lib.php.
getPermission | ( | ) |
Definition at line 151 of file tree.lib.php.
isRequired | ( | ) |
Definition at line 155 of file tree.lib.php.