-
api.unregister.cacheresource
...terCacheResource() and the Custom CacheResource Implementation section. Prev ...
...terCacheResource() and the Custom CacheResource Implementation section. Prev ...
-
smarty.for.programmers
...rrors() — mutes expected warnings and notices deliberately generated by Smarty...
...es Cacheability of Plugins Custom Cache Implementation 16. Resources File Templa...
...es Cacheability of Plugins Custom Cache Implementation 16. Resources File Templa...
-
plugins.resources
...ins are meant as a generic way of providing template sources or PHP script compo...
...emory, sockets, and so on. Custom Resources may be put in a file resource.foobar...
...emory, sockets, and so on. Custom Resources may be put in a file resource.foobar...
-
caching.cacheable
...n-function get value as it was the time the page was written to cache everytime ...
...Next Cache Groups Home Custom Cache Implementation ...
...Next Cache Groups Home Custom Cache Implementation ...
-
what.is.smarty
...t facilitates a manageable way to separate application logic and content from it...
...can easily create your own custom functions and variable modifiers , so the temp...
...can easily create your own custom functions and variable modifiers , so the temp...
-
resources.extends
...emplate Resources Home Custom Template Resources ...
...emplate Resources Home Custom Template Resources ...
-
language.function.html.radios
...ut / content (values are always escaped) Required attributes are values and outp...
...dios} Prev Chapter 8. Custom Functions Next {html_radios} {html_radios} ...
...dios} Prev Chapter 8. Custom Functions Next {html_radios} {html_radios} ...
-
resources.custom
... file system in some other way by registering under another resource name. Examp...
... Custom Template Resources Custom Template Resources custom, template, resources...
... Custom Template Resources Custom Template Resources custom, template, resources...
-
plugins.compiler.functions
...ile name and * the time it was compiled. * -------------------------------------...
... a compiler function and a custom function registered under the same name, the c...
... a compiler function and a custom function registered under the same name, the c...
-
tips.componentized.templates
...{php} . Prev Up Next WAP/WML Home Obfuscating E-mail Addresses ...
...u can do this by writing a custom plugin for fetching the content and assigning ...
...u can do this by writing a custom plugin for fetching the content and assigning ...
-
index
...rrors() — mutes expected warnings and notices deliberately generated by Smarty...
...filter} {strip} {while} 8. Custom Functions {counter} {cycle} {eval} {fetch} {ht...
...filter} {strip} {while} 8. Custom Functions {counter} {cycle} {eval} {fetch} {ht...
-
language.function.fetch
...etch} Prev Chapter 8. Custom Functions Next {fetch} {fetch} is used to r...
...etch} Prev Chapter 8. Custom Functions Next {fetch} {fetch} is used to r...
-
variable.caching.type
...m based cache handler. See Custom Cache Implementation for pointers on setting u...
...m based cache handler. See Custom Cache Implementation for pointers on setting u...
-
language.function.cycle
...ycle} Prev Chapter 8. Custom Functions Next {cycle} {cycle} is used to a...
...ycle} Prev Chapter 8. Custom Functions Next {cycle} {cycle} is used to a...
-
api.get.registered.object
...is is useful from within a custom function when you need direct access to a regi...
...is is useful from within a custom function when you need direct access to a regi...
-
advanced.features.objects
...rty website. There are two ways to access them. One way is to register objects t...
...them via syntax similar to custom functions . The other way is to assign() objec...
...them via syntax similar to custom functions . The other way is to assign() objec...
-
language.function.while
...rip} Home Chapter 8. Custom Functions ...
...rip} Home Chapter 8. Custom Functions ...
-
language.function.math
...math} Prev Chapter 8. Custom Functions Next {math} {math} allows the tem...
...math} Prev Chapter 8. Custom Functions Next {math} {math} allows the tem...
-
resources
...he file resource no longer walks through the include_path unless $use_include_pa...
...Extends Template Resources Custom Template Resources The templates may come from...
...Extends Template Resources Custom Template Resources The templates may come from...
-
tips.wap
... WAP/WML WAP/WML wap, wml WAP/WML Prev Chapter 21. Tips Tricks Next WAP/...
...o this would be to write a custom function that prints the header. If you are us...
...o this would be to write a custom function that prints the header. If you are us...
-
api.register.cacheresource
... Smarty_CacheResource. See Custom Cache Implementation for more information on h...
... Smarty_CacheResource. See Custom Cache Implementation for more information on h...
-
variable.error.reporting
... handling will ensure that warnings and notices (deliberately) produced by Smart...
...Errors(); after setting up custom error handling will ensure that warnings and n...
...Errors(); after setting up custom error handling will ensure that warnings and n...
-
api.mute.expected.errors
...rrors() — mutes expected warnings and notices deliberately generated by Smarty...
...pectedErrors() registers a custom error handler using set_error_handler() . The ...
...pectedErrors() registers a custom error handler using set_error_handler() . The ...
-
language.function.html.options
...ions} Prev Chapter 8. Custom Functions Next {html_options} {html_options...
...ions} Prev Chapter 8. Custom Functions Next {html_options} {html_options...
-
language.builtin.functions
...You cannot create your own custom functions with the same name; and you should n...
...You cannot create your own custom functions with the same name; and you should n...
-
language.modifiers
... Note The default behavior was changed with Smarty 3. In Smarty 2.x, you had to ...
... be applied to variables , custom functions or strings. To apply a modifier, spe...
... be applied to variables , custom functions or strings. To apply a modifier, spe...
-
variable.cache.dir
... You can also use your own custom cache implementation to control cache files, w...
... You can also use your own custom cache implementation to control cache files, w...
-
language.syntax.functions
...oth built-in functions and custom functions have the same syntax within template...
...oth built-in functions and custom functions have the same syntax within template...
-
smarty.for.designers
...filter} {strip} {while} 8. Custom Functions {counter} {cycle} {eval} {fetch} {ht...
...filter} {strip} {while} 8. Custom Functions {counter} {cycle} {eval} {fetch} {ht...
-
language.function.html.select.date
...date} Prev Chapter 8. Custom Functions Next {html_select_date} {html_sel...
...date} Prev Chapter 8. Custom Functions Next {html_select_date} {html_sel...
-
language.modifier.regex.replace
...essions in PHP, either via custom functions or modifiers. Regular expressions ar...
...essions in PHP, either via custom functions or modifiers. Regular expressions ar...
-
caching
...n modified since the cache was generated, the cache is immediately regenerated. ...
...es Cacheability of Plugins Custom Cache Implementation Caching is used to speed ...
...es Cacheability of Plugins Custom Cache Implementation Caching is used to speed ...
-
language.custom.functions
... Chapter 8. Custom Functions Chapter 8. Custom Functions chapter, 8, custom,...
... Chapter 8. Custom Functions Chapter 8. Custom Functions chapter, 8, custom,...
-
language.function.mailto
... Any extra information you want passed to the link, such as style sheet classes ...
...ilto} Prev Chapter 8. Custom Functions Next {mailto} {mailto} automates ...
...ilto} Prev Chapter 8. Custom Functions Next {mailto} {mailto} automates ...
-
language.function.textformat
...rmat} Prev Chapter 8. Custom Functions Next {textformat} {textformat} is...
...rmat} Prev Chapter 8. Custom Functions Next {textformat} {textformat} is...
-
language.function.eval
...eval} Prev Chapter 8. Custom Functions Next {eval} {eval} is used to eva...
...eval} Prev Chapter 8. Custom Functions Next {eval} {eval} is used to eva...
-
language.function.html.select.time
...time} Prev Chapter 8. Custom Functions Next {html_select_time} {html_sel...
...time} Prev Chapter 8. Custom Functions Next {html_select_time} {html_sel...
-
advanced.features
...plates eg via ftp, and you want to reduce the risk of system security compromise...
...h '_') by the template. To customize the security policy settings you can extend...
...h '_') by the template. To customize the security policy settings you can extend...
-
language.function.html.table
...able} Prev Chapter 8. Custom Functions Next {html_table} {html_table} is...
...able} Prev Chapter 8. Custom Functions Next {html_table} {html_table} is...
-
plugins
...xception of resources, backwards compatibility with the old way of registering h...
...is used for almost all the customizable functionality of Smarty. This includes: ...
...is used for almost all the customizable functionality of Smarty. This includes: ...
-
caching.custom
...s being handled for you in way that allows clearing the cache-group "a" and all ...
... Custom Cache Implementation Custom Cache Implementation custom, cache, implemen...
... Custom Cache Implementation Custom Cache Implementation custom, cache, implemen...
-
language.function.html.checkboxes
...ut / content (values are always escaped) Required attributes are values and outp...
...oxes} Prev Chapter 8. Custom Functions Next {html_checkboxes} {html_chec...
...oxes} Prev Chapter 8. Custom Functions Next {html_checkboxes} {html_chec...
-
troubleshooting
...mple 20.1. Smarty errors Warning: Smarty: [in index.tpl line 4]: syntax error:...
...r application registered a custom error hander (using set_error_handler() ) whic...
...r application registered a custom error hander (using set_error_handler() ) whic...
-
language.function.html.image
...ath. This is useful if you want to supply a different server name for the image....
...mage} Prev Chapter 8. Custom Functions Next {html_image} {html_image} is...
...mage} Prev Chapter 8. Custom Functions Next {html_image} {html_image} is...
-
plugins.block.functions
...tions take precedence over custom functions of the same name, that is, you canno...
...tions take precedence over custom functions of the same name, that is, you canno...
-
variable.php.handling
...is highly discouraged. Use custom functions or modifiers instead. Prev Up ...
...is highly discouraged. Use custom functions or modifiers instead. Prev Up ...
-
preface
...ilosophy The Smarty design was largely driven by these goals: clean separation o...
... necessary flexibility for custom development security: insulation from PHP free...
... necessary flexibility for custom development security: insulation from PHP free...