xowiki::includelet::toc instproc render_yui_list
<instance of xowiki::includelet::toc> render_yui_list
Defined in
- Testcases:
-
includelet_toc, xowiki
Source code:
:get_parameters
if {$book_mode} {
set ajax 0
}
set :ajax $ajax
if {$ajax} {
set :js [:yui_ajax]
} else {
set :js [:yui_non_ajax]
}
set tree [::xowiki::Tree new -id [:id] -destroy_on_cleanup]
$tree array set open_node [array get :open_node]
$tree add_pages -full $full -remove_levels $remove_levels -book_mode $book_mode -open_page $open_page -expand_all $expand_all -owner [self] $pages
set HTML [$tree render -style yuitree -js ${:js}]
return $HTML
XQL Not present:Generic, PostgreSQL, Oracle
[
hide source ]
| [
make this the default ]