Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
Mustache_Parser Class Reference

Public Member Functions

 parse (array $tokens=array())
 Process an array of Mustache tokens and convert them into a parse tree.
 
 setPragmas (array $pragmas)
 Enable pragmas across all templates, regardless of the presence of pragma tags in the individual templates.
 

Member Function Documentation

◆ parse()

Mustache_Parser::parse ( array $tokens = array())

Process an array of Mustache tokens and convert them into a parse tree.

Parameters
array$tokensSet of Mustache tokens
Return values
arrayMustache token parse tree

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