Function __global->get_template_files_list
Definitions
sources/themes2.php
- Get all the templates for a theme.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$theme | ID_TEXT | required parameter | N/A | N/A | The theme to search for |
$directory | string | required parameter | N/A | N/A | Subdirectory type to look in |
$suffix | ?string | Null | N/A | N/A | File type suffix of template file (e.g. .tpl) (null: calculate for the $directory norm) |
$this_theme_only | boolean | False | N/A | N/A | Just for this theme |
Return
- A map of the files (file=>path)
- Type: array
- Set: N/A
- Range: N/A