Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | Protected Member Functions | List of all members
core\output\mustache_filesystem_loader Class Reference

Perform some custom name mapping for template file names. More...

Inheritance diagram for core\output\mustache_filesystem_loader:

Public Member Functions

 __construct ()
 Provide a default no-args constructor (we don't really need anything).
 

Protected Member Functions

 getFileName ($name)
 Helper function for getting a Mustache template file name. More...
 

Detailed Description

Perform some custom name mapping for template file names.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Since
2.9

Member Function Documentation

◆ 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
string$name
Return values
stringTemplate file name

The documentation for this class was generated from the following file: