Function __global->_do_contents_level

Definitions

sources/comcode_renderer.php

  • Recursive algorithm to make table of contents.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: object

Parameters

Name Type Default Set Range Description
$tree_structure array required parameter N/A N/A The TOC (sub)tree
$list_types array required parameter N/A N/A The list types to use for each level
$base integer required parameter N/A N/A The level to start from
$the_level integer 0 N/A N/A The level we are at in the recursion

Return

  • The TOC node
  • Type: Tempcode
  • Set: N/A
  • Range: N/A