Class Smarty_Resource_Get_Usermod
Resource overload for the smarty include statements. It enables USERMOD-files for templates.
USAGE: {include file="get_usermod:PATH/TO/TPL.FILE"}
| package |
Default |
|---|
_getPath( $name) : string
string
fetch(string $name, string &$source, integer &$mtime) : void
stringtemplate name
stringtemplate source
integertemplate modification timestamp (epoch)
fetchTimestamp(string $name) : integer
| note |
implementing this method is optional. Only implement it if modification times can be accessed faster than loading the complete template source. |
|---|
stringtemplate name
integertimestamp (epoch) the template was modified