-
caching
...Cacheability of Plugins Custom Cache Implementation Caching is used to speed up ...
...y the minute, it would not make sense to cache this page. Setting Up Caching The...
... 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, ...
-
preface
...d designers quick and easy to maintain syntax easy to understand, no PHP knowled...
...rty gives you the tools to make a clean separation of presentation from applicat...
... Preface Preface preface Preface Prev    Next Preface The Philosophy...
...ices section of the Smarty website. How does it work? Under the hood, Smarty "co...
-
language.function.html.select.time
...v  Chapter 8. Custom Functions  Next {html_select_time} {html_sele...
...s value. This is useful to make the select-boxes read “ Please select â...
...l_select_time} Prev  Chapter 8. Custom Functions  Next {html_selec...
-
language.syntax.variables
...variables are an exception to the $dollar syntax and are instead referenced with...
... Variables Variables variables Variables Prev  Chapter 3. Basic Syntax...
-
language.function.html.select.date
...v  Chapter 8. Custom Functions  Next {html_select_date} {html_sele...
...s value. This is useful to make the select-boxes read “ Please select â...
... {html_select_date} {html_select_date} , ldelim, html_select_date, rdelim, {html...
-
variable.escape.html
..._html Setting $escape_html to TRUE will escape all template variable output by w...
...hange the setting you must make sure that the templates get recompiled. Prev Â...
... $escape_html $escape_html , escape_html $escape_html Prev  Chapter 13.Â...
-
api.append.by.ref
... merge ); This is used to append() values to the templates by reference. Tec...
... appendByRef() appendByRef() appendbyref, appendByRef() Prev  Chapter 14....
-
variable.default.modifiers
...s is an array of modifiers to implicitly apply to every variable in a template. ...
...y('escape:"htmlall"') . To make a variable exempt from default modifiers, add th...
... $default_modifiers $default_modifiers , default_modifiers $default_modifiers Pr...
-
bugs
... Chapter 23. BUGS Chapter 23. BUGS chapter, 23, bugs Chapter 23....
...on of Smarty, or check the website. Prev  Up  Chapter 22. Resource...
-
language.function.extends
...tax for template resources to extend files outside of the $template_dir director...
...tends file=$parent_file} , make sure you include $parent_file in the $cache_id ....
...lim, {extends} Prev  Chapter 7. Built-in Functions  Next {extends}...
-
advanced.features.static.classes
...in PHP. Note Direct access to PHP classes is not recommended. This ties the unde...
... Static Classes Static Classes static, classes Static Classes Prev  Chapter...
...ices section of the Smarty website. Example 17.10. static class access syn...
-
caching.cacheable
...offers several options how to exclude sections of your output from caching. Gene...
...d in nocache mode you must make sure that all other variables used by that tag a...
... Controlling Cacheability of Output Controlling Cacheability of Output controlli...
-
what.is.smarty
...cilitates a manageable way to separate application logic and content from its pr...
...refore, the programmer can make changes to the application logic without the nee...
... Chapter 1. What is Smarty? Chapter 1. What is Smarty? chapter, 1, w...
-
api.assign
... assign variables/objects to the templates Description void assign ( mixed...
... assign() assign() assign, assign() Prev  Chapter 14. Smarty Class Met...
...ices section of the Smarty website. Example 14.6. assign() ?php // passing...
-
language.variables
...ditional expressions, etc. To print a variable, simply enclose it in the delimit...
...name}, glad to see you can make it. br / {* this will not work as $variables are...
... Chapter 4. Variables Chapter 4. Variables chapter, 4, variables Cha...
-
advanced.features.postfilters
...aded from the plugins directory by using the loadFilter() function or by setting...
... The postfilter above will make the compiled Smarty template index.tpl look like...
...rs Postfilters Prev  Chapter 17. Advanced Features  Next Postfilte...
-
tips.obfuscating.email
...dresses is from web pages. To help combat this problem, you can make your email ...
...mbat this problem, you can make your email address show up in scrambled javascri...
... Obfuscating E-mail Addresses Obfuscating E-mail Addresses obfuscating, e, mail,...
-
api.fetch
...in the event that you want to compile different versions of the same template, s...
... 40 characters. This helps make the text easier to read in mail programs that do...
...fetch, fetch() Prev  Chapter 14. Smarty Class Methods  Next Name f...
-
resources.extends
... extends: resource is used to define child/parent relationships for template inh...
...tes from strings are used, make sure they are properly (url or base64) encoded. ...
... Extends Template Resources Extends Template Resources extends, template, resour...
-
api.register.object
...ou register/assign objects to templates, be sure that all properties and methods...
...gisterObject() Prev  Chapter 14. Smarty Class Methods  Next Name r...
...ices section of the Smarty website. See the objects section for more information...
-
language.function.debug
...g} dumps the debug console to the page. This works regardless of the debug setti...
...ithin the template it does make sense to place the {debug} tag at the end of the...
...delim, {debug} Prev  Chapter 7. Built-in Functions  Next {debug} {...
-
installing.smarty.extended
...slightly more flexible way to setup Smarty is to extend the class and initialize...
...hp/includes/guestbook/ and make a new file called setup.php . In our example env...
...Extended Setup Prev  Chapter 2. Installation  Next Extended Setup ...
-
api.append
...— append an element to an assigned array Description void append ( mi...
... append() append() append, append() Prev  Chapter 14. Smarty Class Met...
-
advanced.features.objects
...jects Smarty allows access to PHP objects through the templates. Note When you a...
...bjects Objects Prev  Chapter 17. Advanced Features  Next Objects S...
...ices section of the Smarty website. There are two ways to access them. One way i...
-
language.function.section
...ke {foreach} which is used to loop over a single associative array . Every {sect...
...,{sectionelse} Prev  Chapter 7. Built-in Functions  Next {section}...
-
language.function.insert
...he output will be assigned to script string No n/a The name of the php script th...
... must be included first to make it work. The path can be either absolute, or rel...
...elim, {insert} Prev  Chapter 7. Built-in Functions  Next {insert} ...
-
variable.direct.access.security
...bits direct browser access to compiled or cached template files. Direct access s...
...hange the setting you must make sure that the templates get recompiled. Prev Â...
... $direct_access_security $direct_access_security , direct_access_security $direc...
-
variable.merge.compiled.includes
...g $merge_compiled_includes to TRUE Smarty will merge the compiled template code ...
...hange the setting you must make sure that the templates get recompiled. See also...
...piled_includes Prev  Chapter 13. Smarty Class Variables  Next $mer...