-
language.syntax.variables
...d referenced with surrounding #hashmarks#, or via the $smarty.config variable. E...
...e {assign} Many other combinations are allowed {$foo.bar.baz} {$foo.$bar.$baz} {...
... the 5th element of a zero-indexed array {$foo.bar} -- display the "bar" key val...
...d referenced with surrounding #hashmarks#, or via the $smarty.config variable. E...
...d referenced with surrounding #hashmarks#, or via the $smarty.config variable. E...
-
api.append.by.ref
...void appendByRef ( string varname ,          ...
...ty Class Methods  Next Name appendByRef() — append values by referenc...
... you merge two numerically indexed arrays, they may overwrite each other or resu...
...void appendByRef ( string varname ,          ...
...void appendByRef ( string varname ,          ...
-
caching
... Chapter 15. Caching Chapter 15. Caching chapter, 15, caching Chapte...
...etc. Since templates are dynamic, it is important to be careful what you are cac...
...ur website that does not change its content very often, it might work well to ca...
... Chapter 15. Caching Chapter 15. Caching chapter, 15, caching Chapte...
...ing the front page of your website that does not change its content very often, ...
... Chapter 15. Caching Chapter 15. Caching chapter, 15, caching Chapte...
-
bugs
...on of Smarty, or check the website. Prev  Up  Chapter 22. Resource...
-
preface
...rty? Smarty is a template engine for PHP, facilitating the separation of present...
...eployment and easier maintenance. Smarty syntax requires no working knowledge of...
...even in other programming languages), and is also the approach that Smarty takes...
...rty? Smarty is a template engine for PHP, facilitating the separation of present...
...ices section of the Smarty website. How does it work? Under the hood, Smarty "co...
...rty? Smarty is a template engine for PHP, facilitating the separation of present...
-
advanced.features.static.classes
...ded. This ties the underlying application code structure directly to the present...
...arty variable bar as class name Prev  Up  Next Objects Home  Pref...
...ded. This ties the underlying application code structure directly to the present...
...ices section of the Smarty website. Example 17.10. static class access syn...
...ded. This ties the underlying application code structure directly to the present...
-
api.assign
...r ); void assign ( string varname ,          ...
...ty Class Methods  Next Name assign() — assign variables/objects to th...
...r ); void assign ( string varname ,          ...
...ices section of the Smarty website. Example 14.6. assign() ?php // passing...
...r ); void assign ( string varname ,          ...
-
api.register.object
...d registerObject ( string object_name ,         ...
...ty Class Methods  Next Name registerObject() — register an object for...
...d registerObject ( string object_name ,         ...
...ices section of the Smarty website. See the objects section for more information...
...d registerObject ( string object_name ,         ...
-
api.append
...r ); void append ( string varname ,          ...
...ty Class Methods  Next Name append() — append an element to an assign...
... you merge two numerically indexed arrays, they may overwrite each other or resu...
...r ); void append ( string varname ,          ...
...r ); void append ( string varname ,          ...
-
advanced.features.objects
...ns can be accessed (beginningwith '_'). If a method and property of the same nam...
...ns that are difficult to manage. See the Best Practices section of the Smarty we...
...ns can be accessed (beginningwith '_'). If a method and property of the same nam...
...ices section of the Smarty website. There are two ways to access them. One way i...
...ns can be accessed (beginningwith '_'). If a method and property of the same nam...
-
language.function.section
...e} A {section} is for looping over sequentially indexed arrays of data , unlike ...
... {foreach} loop. Attribute Name Type Required Default Description name string Ye...
... looping over sequentially indexed arrays of data , unlike {foreach} which is us...
...ray of 3000 to 3015 $id = range(3000,3015); $smarty- assign('arr',$id); ? Templa...
...e} A {section} is for looping over sequentially indexed arrays of data , unlike ...
...e} A {section} is for looping over sequentially indexed arrays of data , unlike ...