(no description)
File Size: | 69 lines (2 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Mustache_Loader_CascadingLoader:: (3 methods):
__construct()
addLoader()
load()
Class: Mustache_Loader_CascadingLoader - X-Ref
A Mustache Template cascading loader implementation, which delegates to other__construct(array $loaders = array() X-Ref |
Construct a CascadingLoader with an array of loaders. $loader = new Mustache_Loader_CascadingLoader(array( new Mustache_Loader_InlineLoader(__FILE__, __COMPILER_HALT_OFFSET__), new Mustache_Loader_FilesystemLoader(__DIR__.'/templates') )); param: Mustache_Loader[] $loaders |
addLoader(Mustache_Loader $loader) X-Ref |
Add a Loader instance. param: Mustache_Loader $loader |
load($name) X-Ref |
Load a Template by name. param: string $name return: string Mustache Template source |