![]() |
XOOPS API 2.5.11 Beta1
UI v0.5
Réalisé par monxoops.fr
|
Graphe d'héritage de Smarty:Fonctions membres publiques | |
| __construct () | |
| assign ($tpl_var, $value=null) | |
| assign_by_ref ($tpl_var, &$value) | |
| append ($tpl_var, $value=null, $merge=false) | |
| append_by_ref ($tpl_var, &$value, $merge=false) | |
| clear_assign ($tpl_var) | |
| register_function ($function, $function_impl, $cacheable=true, $cache_attrs=null) | |
| unregister_function ($function) | |
| register_object ($object, &$object_impl, $allowed=array(), $smarty_args=true, $block_methods=array()) | |
| unregister_object ($object) | |
| register_block ($block, $block_impl, $cacheable=true, $cache_attrs=null) | |
| unregister_block ($block) | |
| register_compiler_function ($function, $function_impl, $cacheable=true) | |
| unregister_compiler_function ($function) | |
| register_modifier ($modifier, $modifier_impl) | |
| unregister_modifier ($modifier) | |
| register_resource ($type, $functions) | |
| unregister_resource ($type) | |
| register_prefilter ($function) | |
| unregister_prefilter ($function) | |
| register_postfilter ($function) | |
| unregister_postfilter ($function) | |
| register_outputfilter ($function) | |
| unregister_outputfilter ($function) | |
| load_filter ($type, $name) | |
| clear_cache ($tpl_file=null, $cache_id=null, $compile_id=null, $exp_time=null) | |
| clear_all_cache ($exp_time=null) | |
| is_cached ($tpl_file, $cache_id=null, $compile_id=null) | |
| clear_all_assign () | |
| clear_compiled_tpl ($tpl_file=null, $compile_id=null, $exp_time=null) | |
| template_exists ($tpl_file) | |
| & | get_template_vars ($name=null) |
| & | get_config_vars ($name=null) |
| trigger_error ($error_msg, $error_type=E_USER_WARNING) | |
| display ($resource_name, $cache_id=null, $compile_id=null) | |
| fetch ($resource_name, $cache_id=null, $compile_id=null, $display=false) | |
| config_load ($file, $section=null, $scope='global') | |
| & | get_registered_object ($name) |
| clear_config ($var=null) | |
| _get_plugin_filepath ($type, $name) | |
| _is_compiled ($resource_name, $compile_path) | |
| _compile_resource ($resource_name, $compile_path) | |
| _compile_source ($resource_name, &$source_content, &$compiled_content, $cache_include_path=null) | |
| _get_compile_path ($resource_name) | |
| _fetch_resource_info (&$params) | |
| _parse_resource_name (&$params) | |
| _run_mod_handler () | |
| _dequote ($string) | |
| _read_file ($filename) | |
| _get_auto_filename ($auto_base, $auto_source=null, $auto_id=null) | |
| _unlink ($resource, $exp_time=null) | |
| _get_auto_id ($cache_id=null, $compile_id=null) | |
| _trigger_fatal_error ($error_msg, $tpl_file=null, $tpl_line=null, $file=null, $line=null, $error_type=E_USER_ERROR) | |
| _process_compiled_include_callback ($match) | |
| _smarty_include ($params) | |
| & | _smarty_cache_attrs ($cache_serial, $count) |
| _include ($filename, $once=false, $params=null) | |
| _eval ($code, $params=null) | |
| _get_filter_name ($function) | |
| __construct | ( | ) |
#- The class constructor.
Réimplémentée dans XoopsTpl.
Voici le graphe d'appel pour cette fonction :| _compile_resource | ( | $resource_name, | |
| $compile_path | |||
| ) |
compile the template
| string | $resource_name | |
| string | $compile_path |
Voici le graphe d'appel pour cette fonction :
Voici le graphe des appelants de cette fonction :| _compile_source | ( | $resource_name, | |
| & | $source_content, | ||
| & | $compiled_content, | ||
$cache_include_path = null |
|||
| ) |
compile the given source
| string | $resource_name | |
| string | $source_content | |
| string | $compiled_content |
Voici le graphe des appelants de cette fonction :| _dequote | ( | $string | ) |
Remove starting and ending quotes from the string
| string | $string |
| _eval | ( | $code, | |
$params = null |
|||
| ) |
wrapper for eval() retaining $this
| _fetch_resource_info | ( | & | $params | ) |
fetch the template info. Gets timestamp, and source if get_source is true
sets $source_content to the source of the template, and $resource_timestamp to its time stamp
| string | $resource_name | |
| string | $source_content | |
| integer | $resource_timestamp | |
| boolean | $get_source | |
| boolean | $quiet |
Voici le graphe d'appel pour cette fonction :
Voici le graphe des appelants de cette fonction :get a concrete filename for automagically created content
| string | $auto_base | |
| string | $auto_source | |
| string | $auto_id |
Voici le graphe des appelants de cette fonction :returns an auto_id for auto-file-functions
| string | $cache_id | |
| string | $compile_id |
Réimplémentée dans XoopsTpl.
Voici le graphe des appelants de cette fonction :| _get_compile_path | ( | $resource_name | ) |
Get the compile path for this resource
| string | $resource_name |
Voici le graphe d'appel pour cette fonction :
Voici le graphe des appelants de cette fonction :| _get_filter_name | ( | $function | ) |
Extracts the filter name from the given callback
| callback | $function |
Voici le graphe des appelants de cette fonction :| _get_plugin_filepath | ( | $type, | |
| $name | |||
| ) |
get filepath of requested plugin
| string | $type | |
| string | $name |
Voici le graphe d'appel pour cette fonction :
Voici le graphe des appelants de cette fonction :wrapper for include() retaining $this
| _is_compiled | ( | $resource_name, | |
| $compile_path | |||
| ) |
test if resource needs compiling
| string | $resource_name | |
| string | $compile_path |
Voici le graphe d'appel pour cette fonction :
Voici le graphe des appelants de cette fonction :| _parse_resource_name | ( | & | $params | ) |
parse out the type and name from the resource
| string | $resource_base_path | |
| string | $resource_name | |
| string | $resource_type | |
| string | $resource_name |
Voici le graphe d'appel pour cette fonction :
Voici le graphe des appelants de cette fonction :| _process_compiled_include_callback | ( | $match | ) |
callback function for preg_replace, to call a non-cacheable block
| _read_file | ( | $filename | ) |
read in a file
| string | $filename |
Voici le graphe des appelants de cette fonction :| _run_mod_handler | ( | ) |
Handle modifiers
| string | null | $modifier_name | |
| array | null | $map_array |
| & _smarty_cache_attrs | ( | $cache_serial, | |
| $count | |||
| ) |
get or set an array of cached attributes for function that is not cacheable
| _smarty_include | ( | $params | ) |
called for included templates
| string | $_smarty_include_tpl_file | |
| string | $_smarty_include_vars |
Voici le graphe d'appel pour cette fonction :| _trigger_fatal_error | ( | $error_msg, | |
$tpl_file = null, |
|||
$tpl_line = null, |
|||
$file = null, |
|||
$line = null, |
|||
$error_type = E_USER_ERROR |
|||
| ) |
trigger Smarty plugin error
| string | $error_msg | |
| string | $tpl_file | |
| integer | $tpl_line | |
| string | $file | |
| integer | $line | |
| integer | $error_type |
Voici le graphe d'appel pour cette fonction :
Voici le graphe des appelants de cette fonction :| _unlink | ( | $resource, | |
$exp_time = null |
|||
| ) |
unlink a file, possibly using expiration time
| string | $resource | |
| integer | $exp_time |
appends values to template variables
| array | string | $tpl_var | the template variable name(s) |
| mixed | $value | the value to append |
| append_by_ref | ( | $tpl_var, | |
| & | $value, | ||
$merge = false |
|||
| ) |
appends values to template variables by reference
| string | $tpl_var | the template variable name |
| mixed | $value | the referenced value to append |
| assign | ( | $tpl_var, | |
$value = null |
|||
| ) |
assigns values to template variables
| array | string | $tpl_var | the template variable name(s) |
| mixed | $value | the value to assign |
Voici le graphe des appelants de cette fonction :| assign_by_ref | ( | $tpl_var, | |
| & | $value | ||
| ) |
assigns values to template variables by reference
| string | $tpl_var | the template variable name |
| mixed | $value | the referenced value to assign |
| clear_all_assign | ( | ) |
clear all the assigned template variables.
| clear_all_cache | ( | $exp_time = null | ) |
clear the entire contents of cache (all templates)
| string | $exp_time | expire time |
Voici le graphe d'appel pour cette fonction :| clear_assign | ( | $tpl_var | ) |
clear the given assigned template variable.
| string | $tpl_var | the template variable to clear |
clear cached content for the given template and cache id
| string | $tpl_file | name of template file |
| string | $cache_id | name of cache_id |
| string | $compile_id | name of compile_id |
| string | $exp_time | expiration time |
Voici le graphe d'appel pour cette fonction :
Voici le graphe des appelants de cette fonction :clears compiled version of specified template resource, or all compiled template files if one is not specified. This function is for advanced use only, not normally needed.
| string | $tpl_file | |
| string | $compile_id | |
| string | $exp_time |
Voici le graphe d'appel pour cette fonction :| clear_config | ( | $var = null | ) |
clear configuration values
| string | $var |
| config_load | ( | $file, | |
$section = null, |
|||
$scope = 'global' |
|||
| ) |
load configuration values
| string | $file | |
| string | $section | |
| string | $scope |
Voici le graphe d'appel pour cette fonction :executes & displays the template results
| string | $resource_name | |
| string | $cache_id | |
| string | $compile_id |
Voici le graphe d'appel pour cette fonction :executes & returns or displays the template results
| string | $resource_name | |
| string | $cache_id | |
| string | $compile_id | |
| boolean | $display |
Voici le graphe d'appel pour cette fonction :
Voici le graphe des appelants de cette fonction :| & get_config_vars | ( | $name = null | ) |
Returns an array containing config variables
| string | $name | |
| string | $type |
| & get_registered_object | ( | $name | ) |
return a reference to a registered object
| string | $name |
Voici le graphe d'appel pour cette fonction :| & get_template_vars | ( | $name = null | ) |
Returns an array containing template variables
| string | $name | |
| string | $type |
test to see if valid cache exists for this template
| string | $tpl_file | name of template file |
| string | $cache_id | |
| string | $compile_id |
Voici le graphe d'appel pour cette fonction :| load_filter | ( | $type, | |
| $name | |||
| ) |
load a filter of specified type and name
| string | $type | filter type |
| string | $name | filter name |
Voici le graphe d'appel pour cette fonction :
Voici le graphe des appelants de cette fonction :Registers block function to be used in templates
| string | $block | name of template block |
| string | $block_impl | PHP function to register |
| register_compiler_function | ( | $function, | |
| $function_impl, | |||
$cacheable = true |
|||
| ) |
Registers compiler function
| string | $function | name of template function |
| string | $function_impl | name of PHP function to register |
Registers custom function to be used in templates
| string | $function | the name of the template function |
| string | $function_impl | the name of the PHP function to register |
| register_modifier | ( | $modifier, | |
| $modifier_impl | |||
| ) |
Registers modifier to be used in templates
| string | $modifier | name of template modifier |
| string | $modifier_impl | name of PHP function to register |
| register_object | ( | $object, | |
| & | $object_impl, | ||
$allowed = array(), |
|||
$smarty_args = true, |
|||
$block_methods = array() |
|||
| ) |
Registers object to be used in templates
| string | $object | name of template object |
| object | &$object_impl | the referenced PHP object to register |
| null | array | $allowed | list of allowed methods (empty = all) |
| boolean | $smarty_args | smarty argument format, else traditional |
| null | array | $block_functs | list of methods that are block format |
| register_outputfilter | ( | $function | ) |
Registers an output filter function to apply to a template output
| callback | $function |
Voici le graphe d'appel pour cette fonction :| register_postfilter | ( | $function | ) |
Registers a postfilter function to apply to a compiled template after compilation
| callback | $function |
Voici le graphe d'appel pour cette fonction :| register_prefilter | ( | $function | ) |
Registers a prefilter function to apply to a template before compiling
| callback | $function |
Voici le graphe d'appel pour cette fonction :| register_resource | ( | $type, | |
| $functions | |||
| ) |
Registers a resource to fetch a template
| string | $type | name of resource |
| array | $functions | array of functions to handle resource |
Voici le graphe d'appel pour cette fonction :| template_exists | ( | $tpl_file | ) |
Checks whether requested template exists.
| string | $tpl_file |
Voici le graphe d'appel pour cette fonction :| trigger_error | ( | $error_msg, | |
$error_type = E_USER_WARNING |
|||
| ) |
trigger Smarty error
| string | $error_msg | |
| integer | $error_type |
Voici le graphe des appelants de cette fonction :| unregister_block | ( | $block | ) |
Unregisters block function
| string | $block | name of template function |
| unregister_compiler_function | ( | $function | ) |
Unregisters compiler function
| string | $function | name of template function |
| unregister_function | ( | $function | ) |
Unregisters custom function
| string | $function | name of template function |
| unregister_modifier | ( | $modifier | ) |
Unregisters modifier
| string | $modifier | name of template modifier |
| unregister_object | ( | $object | ) |
Unregisters object
| string | $object | name of template object |
| unregister_outputfilter | ( | $function | ) |
Unregisters an outputfilter function
| callback | $function |
Voici le graphe d'appel pour cette fonction :| unregister_postfilter | ( | $function | ) |
Unregisters a postfilter function
| callback | $function |
Voici le graphe d'appel pour cette fonction :| unregister_prefilter | ( | $function | ) |
Unregisters a prefilter function
| callback | $function |
Voici le graphe d'appel pour cette fonction :| unregister_resource | ( | $type | ) |
Unregisters a resource
| string | $type | name of resource |
| $_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 |
| $_filepaths_cache = array() |
| $_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.31' |
| $autoload_filters = array() |
| $cache_dir = 'cache' |
| $cache_handler_func = null |
| $cache_lifetime = 3600 |
| $cache_modified_check = false |
| $caching = 0 |
| $compile_check = true |
| $compile_dir = 'templates_c' |
| $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. If enabled, then the strings "on", "true", and "yes" are treated as boolean true, and "off", "false" and "no" are treated as boolean false.
| $config_class = 'Config_File' |
| $config_dir = 'configs' |
| $config_fix_newlines = true |
This tells whether or not automatically fix newlines in config files. It basically converts \r (mac) or \r
(dos) to
| $config_overwrite = true |
This tells if config file vars of the same name overwrite each other or not. if disabled, same name variables are accumulated in an array.
| $config_read_hidden = false |
This tells whether hidden sections [.foobar] are readable from the tempalates or not. Normally you would never allow this since that is the point behind hidden sections: the application can access them, but the templates cannot.
| $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 = 'templates' |
| $trusted_dir = array() |
| $use_sub_dirs = false |