Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | List of all members
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. More...
 
 getHelpers ()
 Get the current set of Mustache helpers. More...
 

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. 'blacklistednestedhelpers' => ['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: