Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Custom Moodle engine for mustache. More...
Public Member Functions | |
__construct (array $options=[]) | |
Mustache engine constructor. More... | |
getHelpers () | |
Get the current set of Mustache helpers. More... | |
Custom Moodle engine for mustache.
core\output\mustache_engine::__construct | ( | array | $options = [] | ) |
Mustache engine constructor.
This provides an additional option to the parent Mustache_Engine implementation: $options = [ // A list of helpers (by name) to prevent from executing within the rendering // of other helpers. 'blacklistednestedhelpers' => ['js'] ];
array | $options | [description] |
core\output\mustache_engine::getHelpers | ( | ) |
Get the current set of Mustache helpers.
Mustache_HelperCollection |