|
|
| __construct () |
| | Provide a default no-args constructor (we don't really need anything).
|
| |
| | load ($name) |
| | Load a Template by name.
|
| |
|
| | getFileName ($name) |
| | Helper function for getting a Mustache template file name.
|
| |
| | getfilename ($name) |
| | Helper function for getting a Mustache template file name.
|
| |
| | loadFile ($name) |
| | Helper function for loading a Mustache file by name.
|
| |
| | shouldCheckPath () |
| | Only check if baseDir is a directory and requested templates are files if baseDir is using the filesystem stream wrapper.
|
| |
| | shouldcheckpath () |
| | Only check if baseDir is a directory and requested templates are files if baseDir is using the filesystem stream wrapper.
|
| |
◆ getFileName()
| Mustache_Loader_FilesystemLoader::getFileName |
( |
| $name | ) |
|
|
protectedinherited |
Helper function for getting a Mustache template file name.
- Parameters
-
- Return values
-
◆ getfilename()
| core\output\mustache_filesystem_loader::getfilename |
( |
| $name | ) |
|
|
protected |
Helper function for getting a Mustache template file name.
Uses the leading component to restrict us specific directories.
- Parameters
-
- Return values
-
◆ load()
| core\output\mustache_filesystem_loader::load |
( |
| $name | ) |
|
Load a Template by name.
- Parameters
-
| string | $name | the template name |
- Return values
-
| string | Mustache Template source |
Reimplemented from Mustache_Loader_FilesystemLoader.
◆ loadFile()
| Mustache_Loader_FilesystemLoader::loadFile |
( |
| $name | ) |
|
|
protectedinherited |
◆ shouldCheckPath()
| Mustache_Loader_FilesystemLoader::shouldCheckPath |
( |
| ) |
|
|
protectedinherited |
Only check if baseDir is a directory and requested templates are files if baseDir is using the filesystem stream wrapper.
- Return values
-
| bool | Whether to check is_dir and file_exists |
◆ shouldcheckpath()
| core\output\mustache_filesystem_loader::shouldcheckpath |
( |
| ) |
|
|
protected |
Only check if baseDir is a directory and requested templates are files if baseDir is using the filesystem stream wrapper.
Always check path for mustache_filesystem_loader.
- Return values
-
| bool | Whether to check is_dir and file_exists |
The documentation for this class was generated from the following file:
- lib/classes/output/mustache_filesystem_loader.php