Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
core\output\mustache_engine Class Reference

Custom Moodle engine for mustache. More...

Inheritance diagram for core\output\mustache_engine:

Public Member Functions

 __construct (array $options=[])
 Mustache engine constructor.
 
 getHelpers ()
 Get the current set of Mustache helpers.
 

Detailed Description

Custom Moodle engine for mustache.

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

Constructor & Destructor Documentation

◆ __construct()

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'] ];

Parameters
array$options[description]

Member Function Documentation

◆ getHelpers()

core\output\mustache_engine::getHelpers ( )

Get the current set of Mustache helpers.

See also
Mustache_Engine\setHelpers
Return values
Mustache_HelperCollection

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