Online help topic tree view.
There are no attributes in this class.
getTopicTree()
Return the tree of help topics.
We build a flat list of tpoics info dict. Iterate this dict oan build from the level info a navigation tree in the page tmeplate. Each time you get a level 0 means this is a subitem of the Onlinehelp itself:
>>> info = [('id',{infoDict}),(),()] <ul class="tree" id="tree"> <li><a href="#">items</a> <ul> <li><a href="#">item</a></li> </ul> </li> <li><a href="#">items</a> <ul> <li><a href="#">items</a> <ul> <li><a href="#">item</a></li> <li><a href="#">item</a></li> <li><a href="#">item</a></li> </ul> </li> <li><a href="#">items</a> <ul> <li><a href="#">item</a></li> <li id="activeTreeNode"><a href="#">active item</a></li> <li><a href="#">item</a></li> </ul> </li> </ul> </li> <ul>
isExpanded(topic)
renderItemList(topic, intend)
Render a 'ul' elements as childs of the 'ul' tree.
renderLink(topic)
Render a href element.
renderTree(root)
Reder a unordered list 'ul' tree with a class name 'tree'.
There are no known subclasses.