xowiki::includelet::toc instproc initialize
<instance of xowiki::includelet::toc> initialize
Defined in
- Testcases:
-
includelet_toc, xowiki
Source code:
:get_parameters
array set :navigation {count 0 position 0 current ""}
set list_mode 0
dict set :render_properties CSSclass_ul $CSSclass_ul
dict set :render_properties CSSclass_top_ul $CSSclass_top_ul
if {$renderer eq ""} {
switch -- $style {
"menu" {set renderer yuitree}
"folders" {set renderer yuitree}
"yuitree" {set renderer "yuitree"}
"list" {set style ""; set list_mode 1; set renderer list}
"none" {set style ""; set renderer none}
"default" {set style ""; set list_mode 1; set renderer list
if {$CSSclass_ul eq ""} {
dict set :render_properties CSSclass_ul xowiki-tree
}
}
}
set :use_tree_renderer 0
} else {
set :use_tree_renderer 1
}
set :include_in_foldertree $include_in_foldertree
set :renderer $renderer
set :style $style
set :list_mode $list_mode
set :book_mode $book_mode
XQL Not present:Generic, PostgreSQL, Oracle
[
hide source ]
| [
make this the default ]