Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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: