|
Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Custom Moodle engine for mustache. More...
Public Member Functions | |
| __construct (array $options=[]) | |
| Mustache engine constructor. | |
| getHelpers () | |
| Get the current set of Mustache helpers. | |
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. 'disallowednestedhelpers' => ['js'] ];
| array | $options | [description] |
| core\output\mustache_engine::getHelpers | ( | ) |
Get the current set of Mustache helpers.
| Mustache_HelperCollection |