Function __global->find_template_tree_nice
Definitions
sources/themes_meta_tree.php
- Convert a template tree structure into a HTML representation.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $metadata | array | No | No | required parameter | N/A | N/A | Tempcode metadata node |
| &$collected_templates | array | Yes | No | required parameter | N/A | N/A | A map of templates detected will be saved into here |
Returns
- HTML representation
- Type: string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Convert a template tree structure into a HTML representation.
*
* @param array $metadata Tempcode metadata node
* @param array $collected_templates A map of templates detected will be saved into here
* @return string HTML representation
*/
function find_template_tree_nice(array $metadata, array &$collected_templates) : string
* Convert a template tree structure into a HTML representation.
*
* @param array $metadata Tempcode metadata node
* @param array $collected_templates A map of templates detected will be saved into here
* @return string HTML representation
*/
function find_template_tree_nice(array $metadata, array &$collected_templates) : string

