Perform some custom name mapping for template file names.  
 More...
|  | 
|  | __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. 
 | 
|  | 
|  | shouldCheckPath () | 
|  | Only check if baseDir is a directory and requested templates are files if baseDir is using the filesystem stream wrapper. 
 | 
|  | 
Perform some custom name mapping for template file names. 
- Copyright
- 2015 Damyon Wiese 
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later 
- Since
- 2.9 
◆ 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 |  
 
 
 
◆ 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_dirandfile_exists |  
 
 
 
The documentation for this class was generated from the following file: