-
advanced.features.template.inheritance
...tree can be as deep as you want, meaning you can extend a file that extends anot...
...me process which creates a single compiled template file. Compared to correspond...
...or {$smarty.block.child} placeholders. Template inheritance is a compile time pr...
...or {$smarty.block.child} placeholders. Template inheritance is a compile time pr...
-
api.set.template.dir
...emplateDir() ?php // set a single directory where the templates are stored $smar...
-
language.function.textformat
...ine indent_char string No (single space) The character (or string of chars) to i...
-
language.basic.syntax
...itle /head body {* another single line smarty comment *} !-- HTML comment that i...
-
preface
...ilosophy The Smarty design was largely driven by these goals: clean separation o...
... maintain our templates as single pages. We can then manipulate blocks of conten...
-
api.clear.assign
...d var ); This can be a single value, or an array of values. Example 14.10...
-
language.modifier.strip
...pplied string. Note If you want to strip blocks of template text, use the built-...
..., newlines and tabs with a single space, or with the supplied string. Note If yo...
-
caching.groups
...mes/blue/index.tpl and you want to be able to clear all the cache files for the ...
...oup your templates under a single cache group heirarchy to be able to clear them...
-
language.modifier.escape
...a variable to html , url , single quotes , hex , hexentity , javascript and mail...
-
resources.extends
...separately, though. Only a single compiled template will be generated. Note Use ...
-
caching.multiple.caches
...on some condition, and you want separate caches for each one. You can do this by...
...multiple cache files for a single call to display() or fetch() . Let's say that ...
-
config.files
...te colors. Normally if you wanted to change the color scheme of an application, ...
...essary. You can use either single or double quotes. If you have a value that spa...
-
api.set.config.dir
...tConfigDir() ?php // set a single directory where the config files are stored $s...
-
language.function.include
....tpl"} {* wont work as its single quotes ie no variable substitution *} {include...
-
language.modifier.date.format
...assed to date_format are always (except for mysql timestamps, see below) interpr...
...nth as a decimal number, a single digit is preceded by a space (range 1 to 31) %...
-
language.function.section
...step through the array backwards. max integer No n/a Sets the maximum number of ...
...ich is used to loop over a single associative array . Every {section} tag must b...
-
variable.compile.check
...mp) since the last time it was compiled. If it has changed, it recompiles that t...
...expired, Smarty will run a single compile_check before regenerating the cache. S...
-
language.function.call
...e the Smarty compiler is a single-pass compiler, The {call} tag must be used to ...
-
language.function.function
...e the Smarty compiler is a single-pass compiler, The {call} tag must be used to ...
-
api.set.plugins.dir
...PluginsDir() ?php // set a single directory where the plugins are stored $smarty...
-
variable.cache.id
...multiple cache files for a single call to display() or fetch() depending for exa...