TemplateLoader
interface TemplateLoader
Methods
getFilename($name)
No description
string
getMarkup(string $name)
Gets the markup section of a template, given its name.
string
getContents(string $name)
Gets the source code of a template, given its name.
string
getCacheKey(string $name)
Gets the cache key to use for the cache for a given template name.
bool
isFresh(string $name, int $time)
Returns true if the template is still fresh.
exists($name)
No description
Details
at line 9
getFilename($name)
No description
at line 20
string
getMarkup(string $name)
Gets the markup section of a template, given its name.
at line 31
string
getContents(string $name)
Gets the source code of a template, given its name.
at line 42
string
getCacheKey(string $name)
Gets the cache key to use for the cache for a given template name.
at line 55
bool
isFresh(string $name, int $time)
Returns true if the template is still fresh.
at line 57
exists($name)
No description