Smarty |
[ class tree: Smarty ] [ index: Smarty ] [ all elements ] |
Packages: phpDocumentor Converters Cpdf HTML_TreeMenu Smarty tests XML_Beautifier Files: subpackage plugins
block.strip.php
block.textformat.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.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 function.var_dump.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.htmlentities.php modifier.indent.php modifier.lower.php modifier.nl2br.php modifier.rawurlencode.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 84] The name of the directory where templates are located.Smarty Configuration Section
[ Top ] $trusted_dir = array()[line 250] This is an array of directories where trusted php scripts reside.Smarty Configuration Section $security is disabled during their inclusion/execution.
[ Top ] $undefined = null[line 350] The value of "undefined". Leave it alone :-)Smarty Configuration Section
[ Top ] $use_sub_dirs = true[line 303] 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 597]
The class constructor. Tags:
[ Top ]
method append [line 657]
appends values to template variables Parameters:
[ Top ]
method append_by_ref [line 697]
appends values to template variables by reference Parameters:
[ Top ]
method assign [line 625]
assigns values to template variables Parameters:
[ Top ]
method assign_by_ref [line 645]
assigns values to template variables by reference Parameters:
[ Top ]
method clear_all_assign [line 1062]method clear_all_cache [line 1015]
clear the entire contents of cache (all templates) Tags:
Parameters:
[ Top ]
method clear_assign [line 719]
clear the given assigned template variable. Parameters:
[ Top ]
method clear_cache [line 983]
clear cached content for the given template and cache id Parameters:
[ Top ]
method clear_compiled_tpl [line 1077]
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 1381]method config_load [line 1354]
load configuration values Parameters:
[ Top ]
method display [line 1155]
executes & displays the template results Parameters:
[ Top ]
method fetch [line 1168]
executes & returns or displays the template results Parameters:
[ Top ]
method get_config_vars [line 1127]
Returns an array containing config variables Parameters:
[ Top ]
method get_registered_object [line 1366]
return a reference to a registered object Parameters:
[ Top ]
method get_template_vars [line 1110]
Returns an array containing template variables Parameters:
[ Top ]
method is_cached [line 1040]
test to see if valid cache exists for this template Tags:
Parameters:
[ Top ]
method load_filter [line 957]
load a filter of specified type and name Parameters:
[ Top ]
method register_block [line 786]
Registers block function to be used in templates Parameters:
[ Top ]
method register_compiler_function [line 808]
Registers compiler function Parameters:
[ Top ]
method register_function [line 735]
Registers custom function to be used in templates Parameters:
[ Top ]
method register_modifier [line 830]
Registers modifier to be used in templates Parameters:
[ Top ]
method register_object [line 761]
Registers object to be used in templates Parameters:
[ Top ]
method register_outputfilter [line 934]
Registers an output filter function to apply to a template output Parameters:
[ Top ]
method register_postfilter [line 911]
Registers a postfilter function to apply to a compiled template after compilation Parameters:
[ Top ]
method register_prefilter [line 888]
Registers a prefilter function to apply to a template before compiling Parameters:
[ Top ]
method register_resource [line 852]
Registers a resource to fetch a template Parameters:
[ Top ]
method template_exists [line 1097]
Checks whether requested template exists. Parameters:
[ Top ]
method trigger_error [line 1142]
trigger Smarty error Parameters:
[ Top ]
method unregister_block [line 797]
Unregisters block function Parameters:
[ Top ]
method unregister_compiler_function [line 819]
Unregisters compiler function Parameters:
[ Top ]
method unregister_function [line 747]
Unregisters custom function Parameters:
[ Top ]
method unregister_modifier [line 841]
Unregisters modifier Parameters:
[ Top ]
method unregister_object [line 774]
Unregisters object Parameters:
[ Top ]
method unregister_outputfilter [line 946]
Unregisters an outputfilter function Parameters:
[ Top ]
method unregister_postfilter [line 923]
Unregisters a postfilter function Parameters:
[ Top ]
method unregister_prefilter [line 900]
Unregisters a prefilter function Parameters:
[ Top ]
method unregister_resource [line 877]
Unregisters a resource Parameters:
[ Top ]
method _compile_resource [line 1446]
compile the template Parameters:
[ Top ]
method _compile_source [line 1485]
compile the given source Parameters:
[ Top ]
method _dequote [line 1732]
Remove starting and ending quotes from the string Parameters:
[ Top ]
method _eval [line 2000]
wrapper for eval() retaining $this Parameters:
[ Top ]
method _fetch_resource_info [line 1565]
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 1796]
get a concrete filename for automagically created content Tags:
Parameters:
[ Top ]
method _get_auto_id [line 1854]
returns an auto_id for auto-file-functions Parameters:
[ Top ]
method _get_compile_path [line 1545]
Get the compile path for this resource Tags:
Parameters:
[ Top ]
method _get_plugin_filepath [line 1399]
get filepath of requested plugin Parameters:
[ Top ]
method _include [line 1986]
wrapper for include() retaining $this Parameters:
[ Top ]
method _is_compiled [line 1413]
test if resource needs compiling Parameters:
[ Top ]
method _parse_resource_name [line 1647]
parse out the type and name from the resource Parameters:
[ Top ]
method _process_compiled_include_callback [line 1894]
callback function for preg_replace, to call a non-cacheable block Parameters:
[ Top ]
method _read_file [line 1751]
read in a file from line $start for $lines. read the entire file if $start and $lines are null. Parameters:
[ Top ]
method _run_mod_handler [line 1711]
Handle modifiers Tags:
Parameters:
[ Top ]
method _smarty_cache_attrs [line 1963]
get or set an array of cached attributes for function that is not cacheable Parameters:
[ Top ]
method _smarty_include [line 1913]
called for included templates Parameters:
[ Top ]
method _trigger_fatal_error [line 1873]
trigger Smarty plugin error Parameters:
[ Top ]
method _unlink [line 1836]
unlink a file, possibly using expiration time Parameters:
[ Top ]
|