extends |
SmartyBC |
---|
Template engine
Methods | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
public
|
__construct()
XoopsTpl constructor.
|
# | ||||||||
public
|
fetchFromData(string $tplSource, bool $display = false, null $vars = null): string
Renders output from template data
Renders output from template data Parameters
ReturnsRendered output if $display was false |
# | ||||||||
public
|
xoopsTouch(mixed $resourceName): bool
XoopsTpl::touch
XoopsTpl::touch |
# | ||||||||
public
|
_get_auto_id(string $cache_id = null, string $compile_id = null): string|null
returns an auto_id for auto-file-functions
returns an auto_id for auto-file-functions |
# | ||||||||
public
|
setCompileId(mixed $module_dirname = null, mixed $theme_set = null, mixed $template_set = null): void
XoopsTpl::setCompileId()
|
# | ||||||||
public
|
xoopsClearCache(mixed $module_dirname = null, mixed $theme_set = null, mixed $template_set = null): bool
XoopsTpl::clearCache()
XoopsTpl::clearCache() |
# | ||||||||
public
|
xoops_setTemplateDir($dirname)
DeprecatedDO NOT USE THESE METHODS, ACCESS THE CORRESPONDING PROPERTIES INSTEAD |
# | ||||||||
public
|
xoops_getTemplateDir(): string
DeprecatedDO NOT USE THESE METHODS, ACCESS THE CORRESPONDING PROPERTIES INSTEAD |
# | ||||||||
public
|
xoops_setDebugging(bool $flag = false)
DeprecatedDO NOT USE THESE METHODS, ACCESS THE CORRESPONDING PROPERTIES INSTEAD |
# | ||||||||
public
|
xoops_setCaching(int $num = 0)
DeprecatedDO NOT USE THESE METHODS, ACCESS THE CORRESPONDING PROPERTIES INSTEAD |
# | ||||||||
public
|
xoops_setCompileDir($dirname)
DeprecatedDO NOT USE THESE METHODS, ACCESS THE CORRESPONDING PROPERTIES INSTEAD |
# | ||||||||
public
|
xoops_setCacheDir($dirname)
DeprecatedDO NOT USE THESE METHODS, ACCESS THE CORRESPONDING PROPERTIES INSTEAD |
# | ||||||||
public
|
xoops_canUpdateFromFile(): bool
DeprecatedDO NOT USE THESE METHODS, ACCESS THE CORRESPONDING PROPERTIES INSTEAD |
# | ||||||||
public
|
xoops_fetchFromData($data): string
DeprecatedDO NOT USE THESE METHODS, ACCESS THE CORRESPONDING PROPERTIES INSTEAD |
# | ||||||||
public
|
xoops_setCacheTime(int $num = 0)
DeprecatedDO NOT USE THESE METHODS, ACCESS THE CORRESPONDING PROPERTIES INSTEAD |
# | ||||||||
public
|
assign_by_ref(string $tpl_var, mixed &$value)
deprecated assign_by_ref
deprecated assign_by_ref Parameters
Overrides |
# | ||||||||
public
|
append_by_ref(string $tpl_var, mixed &$value, boolean $merge = false)
deprecated append_by_ref
deprecated append_by_ref Parameters
Overrides |
# | ||||||||
public
|
clear_assign(string $tpl_var)
deprecated clear_assign
deprecated clear_assign Parameters
Overrides |
# | ||||||||
public
|
register_function(string $function, string $function_impl, bool $cacheable = true, mixed $cache_attrs = null)
deprecated register_function
deprecated register_function Parameters
Throws
Overrides |
# | ||||||||
public
|
unregister_function(string $function)
deprecated unregister_function
deprecated unregister_function Parameters
Overrides |
# | ||||||||
public
|
unregister_object(string $object)
deprecated unregister_object
deprecated unregister_object Parameters
Overrides |
# | ||||||||
public
|
register_block(string $block, string $block_impl, bool $cacheable = true, mixed $cache_attrs = null)
deprecated register_block
deprecated register_block Parameters
Throws
Overrides |
# | ||||||||
public
|
unregister_block(string $block)
deprecated unregister_block
deprecated unregister_block Parameters
Overrides |
# | ||||||||
public
|
register_compiler_function(string $function, string $function_impl, bool $cacheable = true)
deprecated register_compiler_function
deprecated register_compiler_function Parameters
Throws
Overrides |
# | ||||||||
public
|
unregister_compiler_function(string $function)
deprecated unregister_compiler_function
deprecated unregister_compiler_function Parameters
Overrides |
# | ||||||||
public
|
register_modifier(string $modifier, string $modifier_impl)
deprecated register_modifier
deprecated register_modifier Parameters
Throws
Overrides |
# | ||||||||
public
|
unregister_modifier(string $modifier)
deprecated unregister_modifier
deprecated unregister_modifier Parameters
Overrides |
# | ||||||||
public
|
register_resource(string $type, array $functions)
deprecated register_resource
deprecated register_resource Parameters
Overrides |
# | ||||||||
public
|
unregister_resource(string $type)
deprecated unregister_resource
deprecated unregister_resource Parameters
Overrides |
# | ||||||||
public
|
register_prefilter(callable $function)
deprecated register_prefilter
|
# | ||||||||
public
|
unregister_prefilter(callable $function)
deprecated unregister_prefilter
|
# | ||||||||
public
|
register_postfilter(callable $function)
deprecated register_postfilter
|
# | ||||||||
public
|
unregister_postfilter(callable $function)
deprecated unregister_postfilter
|
# | ||||||||
public
|
register_outputfilter(callable $function)
deprecated register_outputfilter
|
# | ||||||||
public
|
unregister_outputfilter(callable $function)
deprecated unregister_outputfilter
|
# | ||||||||
public
|
load_filter(string $type, string $name)
deprecated load_filter
deprecated load_filter Parameters
Throws
Overrides |
# | ||||||||
public
|
clear_cache(
string $tpl_file = null,
string $cache_id = null,
string $compile_id = null,
string $exp_time = null,
): boolean
deprecated clear_cache
deprecated clear_cache Parameters
Overrides |
# | ||||||||
public
|
clear_all_cache(string $exp_time = null): boolean
deprecated clear_all_cache
|
# | ||||||||
public
|
is_cached(string $tpl_file, string $cache_id = null, string $compile_id = null): bool
deprecated is_cached
deprecated is_cached Parameters
Throws
Overrides |
# | ||||||||
public
|
clear_all_assign()
deprecated clear_all_assign
|
# | ||||||||
public
|
clear_compiled_tpl(string $tpl_file = null, string $compile_id = null, string $exp_time = null): boolean
deprecated clear_compiled_tpl
deprecated clear_compiled_tpl Returnsresults of {@link smarty_core_rm_auto()} Overrides |
# | ||||||||
public
|
template_exists(string $tpl_file): bool
deprecated template_exists
|
# | ||||||||
public
|
get_template_vars(string $name = null): array
deprecated get_template_vars
|
# | ||||||||
public
|
get_config_vars(string $name = null): array
deprecated get_config_vars
|
# | ||||||||
public
|
config_load(string $file, string $section = null, string $scope = 'global')
deprecated config_load
|
# | ||||||||
public
|
get_registered_object(string $name): object
deprecated get_registered_object
|
# | ||||||||
public
|
clear_config(string $var = null)
deprecated clear_config
|
# |
Methods inherited from SmartyBC |
---|
trigger_error() |
Properties | |||
---|---|---|---|
public
|
xos_opal_Theme
|
$currentTheme
|
# |
Properties inherited from SmartyBC |
---|
$_version, $trusted_dir |
Properties inherited from Smarty_Internal_TemplateBase |
---|
$cache_id, $compile_id, $caching, $compile_check, $cache_lifetime, $tplFunctions, $_cache, |
Properties inherited from Smarty_Internal_Data |
---|
$template_class, $tpl_vars, $parent, $config_vars, $ext, $scope, $smarty |