NavigationTree
class NavigationTree (View source)
Displays a collapsible of database objects in the navigation frame
Constants
private SPECIAL_NODE_NAMES |
|
Methods
__construct(Template $template, DatabaseInterface $dbi, Relation $relation, Config $config)
No description
void
groupTree(Node|null $node = null)
Recursively groups tree nodes given a separator
string
renderState(UserPrivileges $userPrivileges)
Renders a state of the tree, used in light mode when either JavaScript and/or Ajax are disabled
string|false
renderPath(UserPrivileges $userPrivileges)
Renders a part of the tree, used for Ajax requests in light mode
string
renderDbSelect(UserPrivileges $userPrivileges)
Renders a database select box like the pre-4.0 navigation panel
Details
__construct(Template $template, DatabaseInterface $dbi, Relation $relation, Config $config)
No description
void
groupTree(Node|null $node = null)
Recursively groups tree nodes given a separator
void
groupNode(Node $node)
Recursively groups tree nodes given a separator
string
renderState(UserPrivileges $userPrivileges)
Renders a state of the tree, used in light mode when either JavaScript and/or Ajax are disabled
string|false
renderPath(UserPrivileges $userPrivileges)
Renders a part of the tree, used for Ajax requests in light mode
string
renderDbSelect(UserPrivileges $userPrivileges)
Renders a database select box like the pre-4.0 navigation panel