Tree
class Tree
Menu Tree class to represent a menu tree hierarchy
Methods
__construct()
Constructor
getCurrent()
Get the current node
void
reset(
bool $clear = false)
Method to reset the working pointer to the root node and optionally clear all menu nodes
string
getIconClass()
Method to get the CSS class name for an icon identifier or create one if a custom image path is passed as the identifier
string[]
getCss()
Get the CSS declarations for this tree
Details
Node
reset(
bool $clear = false)
Method to reset the working pointer to the root node and optionally clear all menu nodes