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