Resource overload for the smarty include statements. It enables USERMOD-files for templates.
USAGE:
{include file="get_usermod:PATH/TO/TPL.FILE"}
Methods
_getPath
_getPath( $name) : string
Arguments
Response
string
Fetch a template and its modification time
fetch(string $name, string &$source, integer &$mtime) : void
Arguments
$name
string
template name
$source
string
template source
$mtime
integer
template modification timestamp (epoch)
Fetch a template's modification time
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.
|
Arguments
$name
string
template name
Response
integer
timestamp (epoch) the template was modified