xowiki::FormPage proc get_all_children (public)

 xowiki::FormPage[i] get_all_children -folder_id folder_id  \
    [ -publish_status publish_status ] [ -object_types object_types ] \
    [ -extra_where_clause extra_where_clause ] \
    [ -include_child_folders include_child_folders ] \
    [ -initialize initialize ]

Defined in /var/www/openacs/packages/xowiki/tcl/xowiki-procs.tcl

Collect matching children from a folder and its inherited folders.

Switches:
-folder_id (required)
Root folder item ID.
-publish_status (optional, defaults to "ready")
Publication status filter.
-object_types (optional, defaults to "::xowiki::Page ::xowiki::Form ::xowiki::FormPage")
Content types to include.
-extra_where_clause (optional, defaults to "1=1")
Additional SQL condition.
-include_child_folders (optional, defaults to "none")
Whether to include child folders in the search.
-initialize (optional, defaults to "true")
Whether to initialize the returned objects.
Returns:
An ordered composite of matching children.

Testcases:
includelet_childresources
[ show source ]
Show another procedure: