• Publicity: Public Only All

folder-procs.tcl

This is an experimental implementation for folders based on xowiki form pages. In particular, this file provides * An xowiki includelet to display the "folders" * An xowiki includelet to display the "child-resources" of a page (e.g. the contents of a folder)

This file defines the following Objects and Classes: ::xowiki::includelet::folders[i], ::xowiki::includelet::child-resources[i], ::xowiki::includelet::folders[i], ::xowiki::includelet::child-resources[i], ::xowiki::includelet::folders[i], ::xowiki::includelet::child-resources[i], ::xowiki::includelet::folders[i], ::xowiki::includelet::child-resources[i]

Location:
packages/xowiki/tcl/folder-procs.tcl
Authors:
Michael Aram
Gustaf Neumann

Procedures in this file

Detailed information

Class ::xowiki::includelet::child-resources (public)

 ::xowiki::IncludeletClass ::xowiki::includelet::child-resources[i] \
    [ -show_types show_types ] [ -with_subtypes with_subtypes ] \
    [ -orderby orderby ] [ -publish_status publish_status ] \
    [ -parent parent ] [ -columns columns ] [ -hide hide ] \
    [ -menubar menubar ] [ -regepx regepx ]

Include the content of the current folder somewhat similar to explorer.

Switches:
-show_types
(optional)
types of the pages to be included
-with_subtypes
(optional)
(default false)
-orderby
(optional)
order entries by the specified attribite (default last_modified,desc)
-publish_status
(optional)
show content with the provided publishstatuses (can be ored)
-parent
(optional)
folder (defaults to . (=current page as parent))
-columns
(optional)
columns to be displayed
-hide
(optional)
hide certain columns
-menubar
(optional)
include menubar optionally
-regepx
(optional)
SQL reqexp for filtering on content item names

Partial Call Graph (max 5 caller/called nodes):
%3 _ _ (public) ad_log ad_log (public) ad_return_url ad_return_url (public) ad_try ad_try (public) export_vars export_vars (public) Class ::xowiki::includelet::child-resources Class ::xowiki::includelet::child-resources Class ::xowiki::includelet::child-resources->_ Class ::xowiki::includelet::child-resources->ad_log Class ::xowiki::includelet::child-resources->ad_return_url Class ::xowiki::includelet::child-resources->ad_try Class ::xowiki::includelet::child-resources->export_vars

Testcases:
No testcase defined.

Class ::xowiki::includelet::folders (public)

 ::xowiki::IncludeletClass ::xowiki::includelet::folders[i] \
    [ -show_full_tree show_full_tree ] \
    [ -context_tree_view context_tree_view ]

List the folder tree of the current instance

Switches:
-show_full_tree
(optional)
(default false)
-context_tree_view
(optional)
(default false)

Partial Call Graph (max 5 caller/called nodes):
%3 _ _ (public) ad_urlencode_folder_path ad_urlencode_folder_path (public) lang::util::message_key_regexp lang::util::message_key_regexp (public) nsf::object::alloc nsf::object::alloc nsf::relation::set nsf::relation::set Class ::xowiki::includelet::folders Class ::xowiki::includelet::folders Class ::xowiki::includelet::folders->_ Class ::xowiki::includelet::folders->ad_urlencode_folder_path Class ::xowiki::includelet::folders->lang::util::message_key_regexp Class ::xowiki::includelet::folders->nsf::object::alloc Class ::xowiki::includelet::folders->nsf::relation::set

Testcases:
No testcase defined.
[ show source ]