in file TreeMenu.php, variable HTML_TreeMenu_DHTML::$isDynamic Dynamic status of the treemenu. If true (default) this has no effect. If false it will override all dynamic status vars and set the menu to be fully expanded an non-dynamic.
in file TreeMenu.php, method HTML_TreeMenu_DHTML::toHTML() Returns the HTML for the menu. This method can be used instead of printMenu() to use the menu system with a template system.