creates a template object
public createTemplate ( string $template, mixed $cache_id = null, mixed $compile_id = null, object $parent = null, boolean $do_clone = true ) : object | ||
$template | string | the resource handle of the template file |
$cache_id | mixed | cache id to be used with this template |
$compile_id | mixed | compile id to be used with this template |
$parent | object | next higher level of Smarty variables |
$do_clone | boolean | flag is Smarty object shall be cloned |
return | object | template object |