Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
Mustache_Loader_MutableLoader Interface Reference
Inheritance diagram for Mustache_Loader_MutableLoader:
Mustache_Loader_ArrayLoader

Public Member Functions

 setTemplate ($name, $template)
 Set a Template source by name.
 
 setTemplates (array $templates)
 Set an associative array of Template sources for this loader.
 

Member Function Documentation

◆ setTemplate()

Mustache_Loader_MutableLoader::setTemplate ( $name,
$template )

Set a Template source by name.

Parameters
string$name
string$templateMustache Template source

Implemented in Mustache_Loader_ArrayLoader.

◆ setTemplates()

Mustache_Loader_MutableLoader::setTemplates ( array $templates)

Set an associative array of Template sources for this loader.

Parameters
array$templates

Implemented in Mustache_Loader_ArrayLoader.


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