-
language.modifiers
... Note The default behavior was changed with Smarty 3. In Smarty 2.x, you had to ...
...lls: First - sometimes the order of the function-parameters is not the desirable...
...be combined . Example 5.1. Modifier examples {* apply modifier to a variab...
...harset truncate unescape upper wordwrap Variable modifiers can be applied to var...
... may accept additional parameters that affect its behavior. These parameters fol...
-
language.function.html.select.date
...E Display years in reverse order field_array string No null If a name is given, ...
... display for months. array(1 = 'Jan', …, 12 = 'Dec') month_names string No...
...r, month, and day. All parameters that are not in the list below are printed as ...
-
variable.escape.html
...s are run in the following order: modifier, default_modifier, $escape_html, regi...
..._html Prev  Chapter 13. Smarty Class Variables  Next $escape_html ...
-
variable.plugins.dir
...ch plugin directory in the order they are given . Technical Note For best perfor...
...s_dir Prev  Chapter 13. Smarty Class Variables  Next $plugins_dir ...
... . Technical Note For best performance, do not setup your $plugins_dir to have t...
-
plugins
...xception of resources, backwards compatibility with the old way of registering h...
...template is processed. The order in which multiple filters of the same type are ...
... Chapter 18. Extending Smarty With Plugins Chapter 18. Extending Sma...
-
language.function.html.checkboxes
...ut / content (values are always escaped) Required attributes are values and outp...
..., types from contact_types order by type'; $smarty- assign('contact_types',$db- ...
...- assign('cust_ids', array(1000,1001,1002,1003)); $smarty- assign('cust_names', ...
...s XHTML compliant. All parameters that are not in the list above are printed as ...
-
language.combining.modifiers
...hey will be applied in the order they are combined, from left to right. They mus...
...e) character. Example 6.1. combining modifiers ?php $smarty- assign('artic...
...cleTitle} {$articleTitle|upper|spacify} {$articleTitle|lower|spacify|truncate} {...
-
language.function.setfilter
... They run in the following order: modifier, default_modifier, $escape_html, regi...
.... SYNTAX: {setfilter filter1|filter2|filter3....}...{/setfilter} The filter can ...
...nd optional additional parameter. {setfilter}...{/setfilter} blocks can be neste...
-
plugins.naming.conventions
...cific naming convention in order to be located by Smarty. plugin files must be n...
...tions Prev  Chapter 18. Extending Smarty With Plugins  Next Naming...
...in function are named improperly. Prev  Up  Next Chapter 18. Exten...
-
language.function.html.radios
...ut / content (values are always escaped) Required attributes are values and outp...
..., types from contact_types order by type'; $smarty- assign('contact_types',$db- ...
... input -tags. Example 8.13. {html_radios} first example ?php $smarty- assi...
...s XHTML compliant. All parameters that are not in the list above are output as n...
-
language.function.debug
...ed for the cached page. In order to see also the variables which have been local...
-
language.function.include.php
... url, name from navigation order by name'); $this- assign('navigation', $db- get...
...ation code. As of Smarty 3.1 the {include_php} tags are only available from Smar...
...e registered plugins to properly insulate presentation from the application code...
-
resources
...he file resource no longer walks through the include_path unless $use_include_pa...
...tories is traversed in the order they appear in the array. The first template fo...
... Chapter 16. Resources Chapter 16. Resources chapter, 16, resources ...
-
language.function.html.options
..., types from contact_types order by type'; $smarty- assign('contact_types',$db- ...
...assign('myOptions', array( 1800 = 'Joe Schmoe', 9904 = 'Jack Smith', 2003 = 'Cha...
... 8.10. Dropdown with seperate arrays for values and ouptut ?php $smarty- ass...
...ed with optgroup . All parameters that are not in the list above are printed as ...