Function Hook_search_comcode_pages->get_tree

Definitions

sources/hooks/modules/search/comcode_pages.php

  • Get a list of entries for the content covered by this search hook. In hierarchical list selection format.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: object

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$selected string No No required parameter N/A N/A The default selected item

Returns

  • Tree structure
  • Type: Tempcode
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get a list of entries for the content covered by this search hook. In hierarchical list selection format.
 *
 * @param  string $selected The default selected item
 * @return Tempcode Tree structure
 */

public function get_tree(string $selected) : object