abstract | |
---|---|
extends |
Smarty_Resource |
Smarty Resource Plugin Wrapper Implementation for custom resource plugins
Methods | ||||||||
---|---|---|---|---|---|---|---|---|
abstract
protected
|
fetch(string $name, string &$source, integer &$mtime)
fetch template and its modification time from data source
fetch template and its modification time from data source Parameters
Implemented by |
# | ||||||
protected
|
fetchTimestamp(string $name): integer|boolean
Fetch template's modification timestamp from data source
{@internal implementing this method is optional.
Only…
Fetch template's modification timestamp from data source {@internal implementing this method is optional. Only implement it if modification times can be accessed faster than loading the complete template source.}} Parameters
Returnstimestamp (epoch) the template was modified, or false if not found Overriden by |
# | ||||||
public
|
populate(Smarty_Template_Source $source, Smarty_Internal_Template $_template = null)
populate Source Object with meta data from Resource
populate Source Object with meta data from Resource Parameters
Implements |
# | ||||||
public
|
getContent(Smarty_Template_Source $source): string
Load template's source into current template object
Load template's source into current template object Parameters
Returnstemplate source Throws
Implements |
# | ||||||
public
|
getBasename(Smarty_Template_Source $source): string
Determine basename for compiled filename
Determine basename for compiled filename Parameters
Returnsresource's basename Overrides |
# |
Properties inherited from Smarty_Resource |
---|
$sysplugins, $uncompiled, $recompiled, $hasCompiledHandler |