Class ::xowiki::includelet::toc

::xowiki::includelet::toc[i] create ... \
           [ -__decoration (default "plain") ] \
           [ -id id ] \
           [ -parameter_declaration (default " {-style ""} {-renderer ""} {-open_page ""} {-book_mode false} {-folder_mode false} {-ajax false} {-expand_all false} {-remove_levels 0} {-category_id} {-locale ""} {-orderby ""} {-source ""} {-range ""} {-allow_reorder ""} {-include_in_foldertree "true"} {-CSSclass_top_ul ""} {-CSSclass_ul ""} ") ]

Show table of contents of the current wiki. The "toc" includelet renders the page titles of the current files based on the value of the "page_order" attributes. Only those pages are rendered that have a nonempty "page_order" field.
Documented Parameters:
style
renderer
open_page
folder_mode
ajax
expand_all
remove_levels
category_id
locale
orderby
by default, sorting is done via page_order (and requires pages with page_order). Alternatively, one can use e.g. "title,asc".
source
range
allow_reorder
include_in_foldertree
CSSclass_top_ul
CSS class for top-level UL element
CSSclass_ul
CSS class for all UL elements
Defined in packages/xowiki/tcl/includelet-procs.tcl

Class Relations

  • class: ::xowiki::IncludeletClass[i]
  • superclass: ::xowiki::Includelet[i]
  • instmixin: ::xowiki::includelet::PageReorderSupport[i]

Methods (to be applied on the object)

  • anchor (scripted)

Methods (to be applied on instances)

  • __decoration (setter)

  • build_navigation (scripted)

  • build_toc (scripted)

     <instance of xowiki::includelet::toc[i]> build_toc

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_includelet_toc includelet_toc (test ) xowiki::includelet::toc instproc build_toc xowiki::includelet::toc instproc build_toc test_includelet_toc->xowiki::includelet::toc instproc build_toc test_xowiki xowiki (test ) test_xowiki->xowiki::includelet::toc instproc build_toc _ _ (public) xowiki::includelet::toc instproc build_toc->_ ad_decode ad_decode (public) xowiki::includelet::toc instproc build_toc->ad_decode

    Testcases:
    includelet_toc, xowiki
  • cache_includelet_data (scripted)

  • count (scripted)

  • current (scripted)

  • href (scripted)

  • id (setter)

  • include_head_entries (scripted)

  • initialize (scripted)

     <instance of xowiki::includelet::toc[i]> initialize

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_includelet_toc includelet_toc (test ) xowiki::includelet::toc instproc initialize xowiki::includelet::toc instproc initialize test_includelet_toc->xowiki::includelet::toc instproc initialize test_xowiki xowiki (test ) test_xowiki->xowiki::includelet::toc instproc initialize

    Testcases:
    includelet_toc, xowiki
  • page_name (scripted)

  • page_number (scripted)

  • parameter_declaration (setter)

  • parent_id (scripted)

  • position (scripted)

  • render (scripted)

     <instance of xowiki::includelet::toc[i]> render

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_includelet_toc includelet_toc (test ) xowiki::includelet::toc instproc render xowiki::includelet::toc instproc render test_includelet_toc->xowiki::includelet::toc instproc render test_xowiki xowiki (test ) test_xowiki->xowiki::includelet::toc instproc render

    Testcases:
    includelet_toc, xowiki
  • render_list (scripted)

     <instance of xowiki::includelet::toc[i]> render_list

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_includelet_toc includelet_toc (test ) xowiki::includelet::toc instproc render_list xowiki::includelet::toc instproc render_list test_includelet_toc->xowiki::includelet::toc instproc render_list test_xowiki xowiki (test ) test_xowiki->xowiki::includelet::toc instproc render_list

    Testcases:
    includelet_toc, xowiki
  • render_tree (scripted)

  • render_yui_list (scripted)

     <instance of xowiki::includelet::toc[i]> render_yui_list

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_includelet_toc includelet_toc (test ) xowiki::includelet::toc instproc render_yui_list xowiki::includelet::toc instproc render_yui_list test_includelet_toc->xowiki::includelet::toc instproc render_yui_list test_xowiki xowiki (test ) test_xowiki->xowiki::includelet::toc instproc render_yui_list

    Testcases:
    includelet_toc, xowiki
  • yui_ajax (scripted)

  • yui_non_ajax (scripted)