Get information about valid locations for mustache templates.
More...
Get information about valid locations for mustache templates.
- Copyright
- 2015 Damyon Wiese
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
- Since
- 2.9
◆ get_template_directories_for_component()
static core\output\mustache_template_finder::get_template_directories_for_component |
( |
|
$component, |
|
|
|
$themename = '' |
|
) |
| |
|
static |
Helper function for getting a list of valid template directories for a specific component.
- Parameters
-
string | $component | The component to search |
string | $themename | The current theme name |
- Return values
-
string[] | List of valid directories for templates for this compoonent. Directories are not checked for existence. |
◆ get_template_filepath()
static core\output\mustache_template_finder::get_template_filepath |
( |
|
$name, |
|
|
|
$themename = '' |
|
) |
| |
|
static |
Helper function for getting a filename for a template from the template name.
- Parameters
-
string | $name | - This is the componentname/templatename combined. |
string | $themename | - This is the current theme name. |
- Return values
-
The documentation for this class was generated from the following file: