XoopsTpl Class Reference

Inheritance diagram for XoopsTpl:

Inheritance graph
[legend]
Collaboration diagram for XoopsTpl:

Collaboration graph
[legend]

List of all members.


Detailed Description

Definition at line 49 of file template.php.


Public Member Functions

 _compile_resource ($resource_name, $compile_path)
 compile the template
 _compile_source ($resource_name, &$source_content, &$compiled_content, $cache_include_path=null)
 compile the given source
 _get_compile_path ($resource_name)
 Get the compile path for this resource.
 _get_plugin_filepath ($type, $name)
 get filepath of requested plugin
 _is_compiled ($resource_name, $compile_path)
 test if resource needs compiling
 append ($tpl_var, $value=null, $merge=false)
 appends values to template variables
 append_by_ref ($tpl_var, &$value, $merge=false)
 appends values to template variables by reference
 assign ($tpl_var, $value=null)
 assigns values to template variables
 assign_by_ref ($tpl_var, &$value)
 assigns values to template variables by reference
 clear_all_assign ()
 clear all the assigned template variables.
 clear_all_cache ($exp_time=null)
 clear the entire contents of cache (all templates)
 clear_assign ($tpl_var)
 clear the given assigned template variable.
 clear_cache ($tpl_file=null, $cache_id=null, $compile_id=null, $exp_time=null)
 clear cached content for the given template and cache id
 clear_compiled_tpl ($tpl_file=null, $compile_id=null, $exp_time=null)
 clears compiled version of specified template resource, or all compiled template files if one is not specified.
 clear_config ($var=null)
 clear configuration values
 config_load ($file, $section=null, $scope= 'global')
 load configuration values
 display ($resource_name, $cache_id=null, $compile_id=null)
 executes & displays the template results
 fetch ($resource_name, $cache_id=null, $compile_id=null, $display=false)
 executes & returns or displays the template results
 fetchFromData ($tplSource, $display=false, $vars=null)
 Renders output from template data.
get_config_vars ($name=null)
 Returns an array containing config variables.
get_registered_object ($name)
 return a reference to a registered object
get_template_vars ($name=null)
 Returns an array containing template variables.
 is_cached ($tpl_file, $cache_id=null, $compile_id=null)
 test to see if valid cache exists for this template
 load_filter ($type, $name)
 load a filter of specified type and name
 register_block ($block, $block_impl, $cacheable=true, $cache_attrs=null)
 Registers block function to be used in templates.
 register_compiler_function ($function, $function_impl, $cacheable=true)
 Registers compiler function.
 register_function ($function, $function_impl, $cacheable=true, $cache_attrs=null)
 Registers custom function to be used in templates.
 register_modifier ($modifier, $modifier_impl)
 Registers modifier to be used in templates.
 register_object ($object, &$object_impl, $allowed=array(), $smarty_args=true, $block_methods=array())
 Registers object to be used in templates.
 register_outputfilter ($function)
 Registers an output filter function to apply to a template output.
 register_postfilter ($function)
 Registers a postfilter function to apply to a compiled template after compilation.
 register_prefilter ($function)
 Registers a prefilter function to apply to a template before compiling.
 register_resource ($type, $functions)
 Registers a resource to fetch a template.
 Smarty ()
 #@-
 template_exists ($tpl_file)
 Checks whether requested template exists.
 touch ($resourceName)
 trigger_error ($error_msg, $error_type=E_USER_WARNING)
 trigger Smarty error
 unregister_block ($block)
 Unregisters block function.
 unregister_compiler_function ($function)
 Unregisters compiler function.
 unregister_function ($function)
 Unregisters custom function.
 unregister_modifier ($modifier)
 Unregisters modifier.
 unregister_object ($object)
 Unregisters object.
 unregister_outputfilter ($function)
 Unregisters an outputfilter function.
 unregister_postfilter ($function)
 Unregisters a postfilter function.
 unregister_prefilter ($function)
 Unregisters a prefilter function.
 unregister_resource ($type)
 Unregisters a resource.
 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 Attributes

 $_cache_include = null
 $_cache_including = false
 $_cache_info = array()
 $_cache_serials = array()
 $_compile_id = null
 $_conf_obj = null
 $_config = array(array('vars' => array(), 'files' => array()))
 $_dir_perms = 0771
 $_file_perms = 0644
 $_foreach = array()
 $_inclusion_depth = 0
 $_plugins
 $_reg_objects = array()
 $_sections = array()
 $_smarty_debug_id = 'SMARTY_DEBUG'
 $_smarty_debug_info = array()
 $_smarty_md5 = 'f8d698aea36fcbead2b9d5359ffca76f'
 $_smarty_vars = null
 $_tag_stack = array()
 $_tpl_vars = array()
 $_version = '2.6.18'
 $autoload_filters = array()
 $cache_dir = XOOPS_CACHE_PATH
 $cache_handler_func = null
 $cache_lifetime = 3600
 $cache_modified_check = false
 $caching = 0
 $compile_check = true
 $compile_dir = XOOPS_COMPILE_PATH
 $compile_id = null
 $compiler_class = 'Smarty_Compiler'
 $compiler_file = 'Smarty_Compiler.class.php'
 $config_booleanize = true
 This tells whether or not to automatically booleanize config file variables.
 $config_class = 'Config_File'
 $config_dir = 'configs'
 $config_fix_newlines = true
 This tells whether or not automatically fix newlines in config files.
 $config_overwrite = true
 This tells if config file vars of the same name overwrite each other or not.
 $config_read_hidden = false
 This tells whether hidden sections [.foobar] are readable from the tempalates or not.
 $debug_tpl = ''
 $debugging = false
 $debugging_ctrl = 'NONE'
 $default_modifiers = array()
 $default_resource_type = 'file'
 $default_template_handler_func = ''
 $error_reporting = null
 $force_compile = false
 $left_delimiter = '<{'
 $php_handling = SMARTY_PHP_PASSTHRU
 $plugins_dir = array('plugins')
 $request_use_auto_globals = true
 $request_vars_order = 'EGPCS'
 $right_delimiter = '}>'
 $secure_dir = array()
 $security = false
 $security_settings
 $template_dir = XOOPS_THEME_PATH
 $trusted_dir = array()
 $use_sub_dirs = false

The documentation for this class was generated from the following file:
Generated on Tue Jan 1 13:33:21 2008 for XOOPS by  doxygen 1.5.4