-
plugins.outputfilters
...il addresses to %40 as * a simple protection against spambots * ----------------...
-
language.syntax.variables
...ith presentation to PHP by way of plugins or modifiers. Request variables such a...
...les {$foo} -- displaying a simple variable (non array/object) {$foo[4]} -- displ...
-
language.modifier.replace
...ifiers  Next replace A simple search and replace on a variable. This is equi...
-
language.function.for
...lse} tag is used to create simple loops. The following different formarts are su...
-
language.builtin.functions
... @index @iteration @first @last @show @total {break} {continue} {function} {if},...
...tribute Example 7.1. Simple assignment {$name='Bob'} The value of $name is...
-
language.function.foreach
...= $myValue} , the key is always available as $myValue@key within the foreach loo...
...x , @iteration , @first , @last , @show , @total . {foreach} constructs are {bre...
...s of data. {foreach} has a simpler and cleaner syntax than the {section} loop, a...
-
caching.custom
...s being handled for you in way that allows clearing the cache-group "a" and all ...
...require_once 'libs/Smarty.class.php'; $smarty = new Smarty(); $smarty- caching_t...
..._CacheResource_Custom is a simple API directing all read, write, clear calls to ...
-
language.function.extends
...tended Example 7.26. Simple {extends} example {extends file='parent.tpl'} ...
-
preface
...ilosophy The Smarty design was largely driven by these goals: clean separation o...
...ming code, and instead use simple tags to indicate where application content is ...
-
advanced.features.outputfilters
...late output will have // a simple protection against spambots ? See also registe...
-
language.function.block
...}The {$smarty.block.child} was inserted here{/block} /title /head /html child.tp...
...ontent Example 7.15. Simple {block} example parent.tpl html head title {bl...
-
what.is.smarty
...t facilitates a manageable way to separate application logic and content from it...
...xpression syntax can be as simple or as complex an evaluation as you like. Allow...
-
plugins.compiler.functions
...ile name and * the time it was compiled. * -------------------------------------...
...ags. Example 18.6. A simple compiler function ?php /* * Smarty plugin * --...
-
installing.smarty.extended
...! A slightly more flexible way to setup Smarty is to extend the class and initia...
...p Smarty is to extend the class and initialize your Smarty environment. So inste...
... ? Now you see it is quite simple to bring up an instance of Smarty, just use Sm...
-
index
...() — mutes expected warnings and notices deliberately generated by Smarty...
... @index @iteration @first @last @show @total {break} {continue} {function} {if},...
.... combining modifiers 7.1. Simple assignment 7.2. Assignment with math 7.3. Assi...
-
language.function.include
...mplate Example 7.46. Simple {include} example html head title {$title} /ti...
-
language.function.section
...step through the array backwards. max integer No n/a Sets the maximum number of ...
...next , iteration , first , last , rownum , loop , show , total . Example 7.63...
...on} loop can do, and has a simpler and easier syntax. It is usually preferred ov...
-
plugins.modifiers
...ing. Example 18.3. A simple modifier plugin This plugin basically aliases ...