Extends the Smarty class for content.
package | CMS |
---|---|
since | 0.1 |
__construct()
clearCache(mixed $template_name, int $cache_id= null
, int $compile_id= null
, mixed $exp_time= null
, mixed $type= null
) : mixed
mixed
int
int
mixed
mixed
mixed
createTemplate($template, $cache_id= null
, $compile_id= null
, $parent= null
, $do_clone= true
)
defaultPluginHandler(string $name, string $type, string $template, string $callback, string $script, $cachable) : boolean
string
string
string
string
string
boolean
true on success, false on failurefetch(mixed $template= null
, int $cache_id= null
, $compile_id= null
, mixed $parent= null
, boolean $display= false
, boolean $merge_tpl_vars= true
, boolean $no_output_filter= false
) : mixed
mixed
int
mixed
boolean
boolean
boolean
mixed
get_instance() : object
object
$thisisCached($template= null
, int $cache_id= null
, int $compile_id= null
, mixed $parent= null
) : mixed
int
int
mixed
mixed
is_registered($name) : boolean
boolean
loadPlugin(string $plugin_name, bool $check = true
) : string
string
class plugin name to load
bool
check if already loaded
string
|boolean filepath of loaded file or falseregisterPlugin(string $type, string $tag, callback $callback, boolean $cacheable= true
, array $cache_attr= null
) : \Smarty_Internal_Templatebase
string
plugin type
string
name of template tag
callback
PHP callback to register
boolean
if true (default) this fuction is cachable
array
caching attributes if any
\SmartyException |
when the plugin tag is invalid |
---|
\Smarty_Internal_Templatebase
current Smarty_Internal_Templatebase (or Smarty or Smarty_Internal_Template) instance for chainingset_global_cacheid(int $id) : void
int
autoloadFilters() : void
$id
$params
$_global_cache_id
$_instance