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
string
template name
string
template source
integer
template 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. |
---|
string
template name
integer
timestamp (epoch) the template was modified