-
advanced.features.template.inheritance
...tree can be as deep as you want, meaning you can extend a file that extends anot...
... Up  Next Changing settings by template Home  Streams ...
...me process which creates a single compiled template file. Compared to correspond...
-
api.set.template.dir
... setTemplateDir() setTemplateDir() settemplatedir, setTemplateDir() Prev  Ch...
...emplateDir() ?php // set a single directory where the templates are stored $smar...
-
language.function.textformat
...d indenting lines. You can set the parameters explicitly, or use a preset style....
...ine indent_char string No (single space) The character (or string of chars) to i...
-
language.basic.syntax
...ample.com @ para: var that sets block style @ css: the style output ************...
...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...
...ode separation from the outset. There are libraries available to mix Python with...
... 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 ...
...more elaborate grouping by setting up $cache_id groups. This is accomplished by ...
...oup your templates under a single cache group heirarchy to be able to clear them...
-
language.modifier.escape
... UTF-8 , and any character set supported by htmlentities() UTF-8 The character s...
...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...
...rty = new Smarty; $smarty- setCaching(Smarty::CACHING_LIFETIME_CURRENT); $my_cac...
...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
... setConfigDir() setConfigDir() setconfigdir, setConfigDir() Prev  ChapterÂÂ...
...tConfigDir() ?php // set a single directory where the config files are stored $s...
-
language.function.include
...he template resource path. Setting the optional assign attribute specifies the t...
....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 ...
...kwards. max integer No n/a Sets the maximum number of times the section will loo...
...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...
...compile regardless of this setting. By default this variable is set to TRUE . On...
...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
... setPluginsDir() setPluginsDir() setpluginsdir, setPluginsDir() Prev  Chapte...
...PluginsDir() ?php // set a single directory where the plugins are stored $smarty...
-
variable.cache.id
...ery function call, you can set this $cache_id and it will be used implicitly the...
...multiple cache files for a single call to display() or fetch() depending for exa...