Manual:Hooks/TreeViewRenderItem

Details
$this is the global tree-view object which encapsulates all tree-view functionality.

$text is the HTML content of the tree-view item which can be manipulated.

$parser is the MediaWiki parser object that generated the HTML

$depth the depth of the item with the root level being 0.

$nodeID the unique numerical ID of the tree-view item.

$treeID the unique numerical ID of the tree in which the item resides.