htmlGetTemplate
The htmlGetTemplate function is used for returning information about a given template that can then be used by the htmlShowTemplate() function
array
htmlGetTemplate
(string $tpl_name, array $_args, [string $tpl_type = false], [string $default_tpl = false])
-
string
$tpl_name: Template name to search for in post (i.e. "error_template", "template")
-
array
$_args: Array containing $_post or args
-
string
$tpl_type: DEPRECATED for JR 2.x mode, the directory within jamroom/templates the template should be located in
-
string
$default_tpl: DEPRECATED if a htmlGetTemplate cannot find the template within $_args, what is the default template used
|