Smarty |
![]() |
[ class tree: Smarty ] [ index: Smarty ] [ all elements ] |
![]() |
Packages: default baza kontroler model Smarty Files: subpackage plugins
block.textformat.php
compiler.assign.php core.assemble_plugin_filepath.php core.assign_smarty_interface.php core.create_dir_structure.php core.display_debug_console.php core.get_include_path.php core.get_microtime.php core.get_php_resource.php core.is_secure.php core.is_trusted.php core.load_plugins.php core.load_resource_plugin.php core.process_cached_inserts.php core.process_compiled_include.php core.read_cache_file.php core.rmdir.php core.rm_auto.php core.run_insert_handler.php core.smarty_include_php.php core.write_cache_file.php core.write_compiled_include.php core.write_compiled_resource.php core.write_file.php function.assign_debug_info.php function.config_load.php function.counter.php function.cycle.php function.debug.php function.eval.php function.fetch.php function.html_checkboxes.php function.html_image.php function.html_options.php function.html_radios.php function.html_select_date.php function.html_select_time.php function.html_table.php function.mailto.php function.math.php function.popup.php function.popup_init.php modifier.capitalize.php modifier.cat.php modifier.count_characters.php modifier.count_paragraphs.php modifier.count_sentences.php modifier.count_words.php modifier.date_format.php modifier.debug_print_var.php modifier.default.php modifier.escape.php modifier.indent.php modifier.lower.php modifier.nl2br.php modifier.regex_replace.php modifier.replace.php modifier.spacify.php modifier.string_format.php modifier.strip.php modifier.strip_tags.php modifier.truncate.php modifier.upper.php modifier.wordwrap.php outputfilter.trimwhitespace.php shared.escape_special_chars.php shared.make_timestamp.php Classes: |
[ Top ] $template_dir = 'templates'[line 75] The name of the directory where templates are located.Smarty Configuration Section
[ Top ] $trusted_dir = array()[line 248] This is an array of directories where trusted php scripts reside.Smarty Configuration Section $security is disabled during their inclusion/execution.
[ Top ] $use_sub_dirs = false[line 301] This tells Smarty whether or not to use sub dirs in the cache/ and templates_c/ directories. sub directories better organized, but may not work well with PHP safe mode enabled.Smarty Configuration Section
[ Top ] Class Methodsconstructor Smarty [line 568]method append [line 612]
appends values to template variables Parameters:
[ Top ]
method append_by_ref [line 652]
appends values to template variables by reference Parameters:
[ Top ]
method assign [line 580]
assigns values to template variables Parameters:
[ Top ]
method assign_by_ref [line 600]
assigns values to template variables by reference Parameters:
[ Top ]
method clear_all_assign [line 1006]method clear_all_cache [line 970]
clear the entire contents of cache (all templates) Tags:
Parameters:
[ Top ]
method clear_assign [line 674]
clear the given assigned template variable. Parameters:
[ Top ]
method clear_cache [line 938]
clear cached content for the given template and cache id Parameters:
[ Top ]
method clear_compiled_tpl [line 1021]
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. Tags:
Parameters:
[ Top ]
method clear_config [line 1348]method config_load [line 1321]
load configuration values Parameters:
[ Top ]
method display [line 1106]
executes & displays the template results Parameters:
[ Top ]
method fetch [line 1119]
executes & returns or displays the template results Parameters:
[ Top ]
method get_config_vars [line 1074]
Returns an array containing config variables Parameters:
[ Top ]
method get_registered_object [line 1333]
return a reference to a registered object Parameters:
[ Top ]
method get_template_vars [line 1054]
Returns an array containing template variables Parameters:
[ Top ]
method is_cached [line 984]
test to see if valid cache exists for this template Tags:
Parameters:
[ Top ]
method load_filter [line 912]
load a filter of specified type and name Parameters:
[ Top ]
method register_block [line 741]
Registers block function to be used in templates Parameters:
[ Top ]
method register_compiler_function [line 763]
Registers compiler function Parameters:
[ Top ]
method register_function [line 690]
Registers custom function to be used in templates Parameters:
[ Top ]
method register_modifier [line 785]
Registers modifier to be used in templates Parameters:
[ Top ]
method register_object [line 716]
Registers object to be used in templates Parameters:
[ Top ]
method register_outputfilter [line 889]
Registers an output filter function to apply to a template output Parameters:
[ Top ]
method register_postfilter [line 866]
Registers a postfilter function to apply to a compiled template after compilation Parameters:
[ Top ]
method register_prefilter [line 843]
Registers a prefilter function to apply to a template before compiling Parameters:
[ Top ]
method register_resource [line 807]
Registers a resource to fetch a template Parameters:
[ Top ]
method template_exists [line 1041]
Checks whether requested template exists. Parameters:
[ Top ]
method trigger_error [line 1093]
trigger Smarty error Parameters:
[ Top ]
method unregister_block [line 752]
Unregisters block function Parameters:
[ Top ]
method unregister_compiler_function [line 774]
Unregisters compiler function Parameters:
[ Top ]
method unregister_function [line 702]
Unregisters custom function Parameters:
[ Top ]
method unregister_modifier [line 796]
Unregisters modifier Parameters:
[ Top ]
method unregister_object [line 729]
Unregisters object Parameters:
[ Top ]
method unregister_outputfilter [line 901]
Unregisters an outputfilter function Parameters:
[ Top ]
method unregister_postfilter [line 878]
Unregisters a postfilter function Parameters:
[ Top ]
method unregister_prefilter [line 855]
Unregisters a prefilter function Parameters:
[ Top ]
method unregister_resource [line 832]
Unregisters a resource Parameters:
[ Top ]
method _compile_resource [line 1413]
compile the template Parameters:
[ Top ]
method _compile_source [line 1450]
compile the given source Parameters:
[ Top ]
method _dequote [line 1699]
Remove starting and ending quotes from the string Parameters:
[ Top ]
method _eval [line 1934]
wrapper for eval() retaining $this Parameters:
[ Top ]
method _fetch_resource_info [line 1533]
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 Parameters:
[ Top ]
method _get_auto_filename [line 1739]
get a concrete filename for automagically created content Tags:
Parameters:
[ Top ]
method _get_auto_id [line 1789]
returns an auto_id for auto-file-functions Parameters:
[ Top ]
method _get_compile_path [line 1513]
Get the compile path for this resource Tags:
Parameters:
[ Top ]
method _get_plugin_filepath [line 1366]
get filepath of requested plugin Parameters:
[ Top ]
method _include [line 1920]
wrapper for include() retaining $this Parameters:
[ Top ]
method _is_compiled [line 1380]
test if resource needs compiling Parameters:
[ Top ]
method _parse_resource_name [line 1617]
parse out the type and name from the resource Parameters:
[ Top ]
method _process_compiled_include_callback [line 1828]
callback function for preg_replace, to call a non-cacheable block Parameters:
[ Top ]
method _read_file [line 1715]method _run_mod_handler [line 1678]
Handle modifiers Tags:
Parameters:
[ Top ]
method _smarty_cache_attrs [line 1897]
get or set an array of cached attributes for function that is not cacheable Parameters:
[ Top ]
method _smarty_include [line 1847]
called for included templates Parameters:
[ Top ]
method _trigger_fatal_error [line 1808]
trigger Smarty plugin error Parameters:
[ Top ]
method _unlink [line 1771]
unlink a file, possibly using expiration time Parameters:
[ Top ]
Documentation generated on Thu, 29 Jun 2006 22:13:14 +0200 by phpDocumentor 1.3.0RC6 |