Function __global->_create_selection_list_wiki_page_tree

Definitions

sources/wiki.php

  • Helper function. Get a nice formatted HTML list of all the children beneath the specified Wiki+ page. This function is recursive.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$wiki_seen array required parameter N/A N/A A list of pages we've already seen (we don't repeat them in multiple list positions)
$select ?AUTO_LINK required parameter N/A N/A The Wiki+ page to select by default (null: none)
$id AUTO_LINK required parameter N/A N/A The Wiki+ page to look beneath
$breadcrumbs string required parameter N/A N/A Breadcrumbs built up so far, in recursion (blank: starting recursion)
$title SHORT_TEXT required parameter N/A N/A The title of the Wiki+ page to look beneath
$use_compound_list boolean False N/A N/A Whether to create a compound list (gets pairs: Tempcode, and comma-separated list of children)
$ins_format boolean False N/A N/A Whether to use titles in IDs after a ! (used on tree edit page)

Return

  • Tempcode for the list / pair of Tempcode and compound
  • Type: mixed
  • Set: N/A
  • Range: N/A