- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xowiki::TreeRenderer=sections
::xowiki::TreeRenderer=sections create ...
Class Relations
::xowiki::TreeRenderer create ::xowiki::TreeRenderer=sections \ -superclass ::xowiki::TreeRenderer=listMethods (to be applied on instances)
render_item (scripted)
$item instvar title href set prefix [$item set prefix] set suffix [$item set suffix] if {![$item exists encoded(prefix)]} {set prefix [::xowiki::Includelet html_encode $prefix]} if {![$item exists encoded(suffix)]} {set suffix [::xowiki::Includelet html_encode $suffix]} append entry $prefix "<a href='[ns_quotehtml $href]'>" [::xowiki::Includelet html_encode $title] "</a>" $suffix if {$highlight} { return "<b>$entry</b><br>\n" } else { return "$entry<br>\n" }render_node (scripted)
set section [expr {${:level} + 2}] set label [::xowiki::Includelet html_encode ${:label}] return "<h$section>$label</h$section>\n<p> <div style='margin-left: 2em; margin-right:0px;'>$cat_content</div>\n"
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables