XOOPS 2.5.6
Final
|
Public Member Functions | |
_get_auto_id ($cache_id=null, $compile_id=null) | |
clearCache ($module_dirname=null, $theme_set=null, $template_set=null) | |
fetchFromData ($tplSource, $display=false, $vars=null) | |
setCompileId ($module_dirname=null, $theme_set=null, $template_set=null) | |
touch ($resourceName) | |
xoops_canUpdateFromFile () | |
xoops_fetchFromData ($data) | |
xoops_getTemplateDir () | |
xoops_setCacheDir ($dirname) | |
xoops_setCacheTime ($num=0) | |
xoops_setCaching ($num=0) | |
xoops_setCompileDir ($dirname) | |
xoops_setDebugging ($flag=false) | |
xoops_setTemplateDir ($dirname) | |
XoopsTpl () | |
Public Member Functions inherited from Smarty | |
_compile_resource ($resource_name, $compile_path) | |
_compile_source ($resource_name, &$source_content, &$compiled_content, $cache_include_path=null) | |
_dequote ($string) | |
_eval ($code, $params=null) | |
_fetch_resource_info (&$params) | |
_get_auto_filename ($auto_base, $auto_source=null, $auto_id=null) | |
_get_auto_id ($cache_id=null, $compile_id=null) | |
_get_compile_path ($resource_name) | |
_get_filter_name ($function) | |
_get_plugin_filepath ($type, $name) | |
_include ($filename, $once=false, $params=null) | |
_is_compiled ($resource_name, $compile_path) | |
_parse_resource_name (&$params) | |
_process_compiled_include_callback ($match) | |
_read_file ($filename) | |
_run_mod_handler () | |
& | _smarty_cache_attrs ($cache_serial, $count) |
_smarty_include ($params) | |
_trigger_fatal_error ($error_msg, $tpl_file=null, $tpl_line=null, $file=null, $line=null, $error_type=E_USER_ERROR) | |
_unlink ($resource, $exp_time=null) | |
append ($tpl_var, $value=null, $merge=false) | |
append_by_ref ($tpl_var, &$value, $merge=false) | |
assign ($tpl_var, $value=null) | |
assign_by_ref ($tpl_var, &$value) | |
clear_all_assign () | |
clear_all_cache ($exp_time=null) | |
clear_assign ($tpl_var) | |
clear_cache ($tpl_file=null, $cache_id=null, $compile_id=null, $exp_time=null) | |
clear_compiled_tpl ($tpl_file=null, $compile_id=null, $exp_time=null) | |
clear_config ($var=null) | |
config_load ($file, $section=null, $scope= 'global') | |
display ($resource_name, $cache_id=null, $compile_id=null) | |
fetch ($resource_name, $cache_id=null, $compile_id=null, $display=false) | |
& | get_config_vars ($name=null) |
& | get_registered_object ($name) |
& | get_template_vars ($name=null) |
is_cached ($tpl_file, $cache_id=null, $compile_id=null) | |
load_filter ($type, $name) | |
register_block ($block, $block_impl, $cacheable=true, $cache_attrs=null) | |
register_compiler_function ($function, $function_impl, $cacheable=true) | |
register_function ($function, $function_impl, $cacheable=true, $cache_attrs=null) | |
register_modifier ($modifier, $modifier_impl) | |
register_object ($object, &$object_impl, $allowed=array(), $smarty_args=true, $block_methods=array()) | |
register_outputfilter ($function) | |
register_postfilter ($function) | |
register_prefilter ($function) | |
register_resource ($type, $functions) | |
Smarty () | |
template_exists ($tpl_file) | |
trigger_error ($error_msg, $error_type=E_USER_WARNING) | |
unregister_block ($block) | |
unregister_compiler_function ($function) | |
unregister_function ($function) | |
unregister_modifier ($modifier) | |
unregister_object ($object) | |
unregister_outputfilter ($function) | |
unregister_postfilter ($function) | |
unregister_prefilter ($function) | |
unregister_resource ($type) | |
Definition at line 37 of file template.php.
XoopsTpl::_get_auto_id | ( | $cache_id = null , |
|
$compile_id = null |
|||
) |
returns an auto_id for auto-file-functions
string | $cache_id | |
string | $compile_id |
Definition at line 116 of file template.php.
XoopsTpl::clearCache | ( | $module_dirname = null , |
|
$theme_set = null , |
|||
$template_set = null |
|||
) |
mixed | $module_dirname | |
mixed | $theme_set | |
mixed | $template_set |
Definition at line 154 of file template.php.
References smarty_core_rm_auto().
XoopsTpl::fetchFromData | ( | $tplSource, | |
$display = false , |
|||
$vars = null |
|||
) |
Renders output from template data
string | $data | The template to render |
bool | $display | If rendered text should be output or returned |
Definition at line 76 of file template.php.
References $vars, and smarty_function_eval().
XoopsTpl::setCompileId | ( | $module_dirname = null , |
|
$theme_set = null , |
|||
$template_set = null |
|||
) |
mixed | $module_dirname | |
mixed | $theme_set | |
mixed | $template_set |
Definition at line 135 of file template.php.
References $GLOBALS, and $xoopsConfig.
XoopsTpl::touch | ( | $resourceName | ) |
mixed | $resourceName |
Definition at line 99 of file template.php.
References $result.
XoopsTpl::xoops_canUpdateFromFile | ( | ) |
Definition at line 209 of file template.php.
XoopsTpl::xoops_fetchFromData | ( | $data | ) |
Definition at line 215 of file template.php.
XoopsTpl::xoops_getTemplateDir | ( | ) |
Definition at line 179 of file template.php.
XoopsTpl::xoops_setCacheDir | ( | $dirname | ) |
Definition at line 203 of file template.php.
XoopsTpl::xoops_setCacheTime | ( | $num = 0 | ) |
Definition at line 221 of file template.php.
References $GLOBALS, $num, $xoopsTpl, cache_lifetime, and caching.
XoopsTpl::xoops_setCaching | ( | $num = 0 | ) |
XoopsTpl::xoops_setCompileDir | ( | $dirname | ) |
Definition at line 197 of file template.php.
XoopsTpl::xoops_setDebugging | ( | $flag = false | ) |
Definition at line 185 of file template.php.
XoopsTpl::xoops_setTemplateDir | ( | $dirname | ) |
Definition at line 173 of file template.php.
XoopsTpl::XoopsTpl | ( | ) |
Definition at line 39 of file template.php.
References $xoopsConfig, _CHARSET, _LANGCODE, XOOPS_THEME_PATH, XOOPS_UPLOAD_URL, and XOOPS_VERSION.