Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
Mustache_Loader Interface Reference
Inheritance diagram for Mustache_Loader:
Mustache_Loader_ArrayLoader Mustache_Loader_CascadingLoader Mustache_Loader_FilesystemLoader Mustache_Loader_InlineLoader Mustache_Loader_StringLoader Mustache_Loader_ProductionFilesystemLoader core\output\mustache_filesystem_loader

Public Member Functions

 load ($name)
 Load a Template by name.
 

Member Function Documentation

◆ load()

Mustache_Loader::load ( $name)

Load a Template by name.

Exceptions
Mustache_Exception_UnknownTemplateExceptionIf a template file is not found
Parameters
string$name
Return values
string|Mustache_SourceMustache Template source

Implemented in core\output\mustache_filesystem_loader, Mustache_Loader_ArrayLoader, Mustache_Loader_CascadingLoader, Mustache_Loader_FilesystemLoader, Mustache_Loader_InlineLoader, and Mustache_Loader_StringLoader.


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