Function __global->cns_create_selection_list_topic_tree

Definitions

sources/cns_forums2.php

  • Get a nice, formatted HTML list of topics, in forum tree structure.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: object

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$it ?AUTO_LINK No No Null N/A N/A The currently selected topic (null: none selected)

Returns

  • The list of topics
  • Type: Tempcode
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get a nice, formatted HTML list of topics, in forum tree structure.
 *
 * @param  ?AUTO_LINK $it The currently selected topic (null: none selected)
 * @return Tempcode The list of topics
 */

function cns_create_selection_list_topic_tree(?int $it = null) : object