Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
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: