Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
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 |