-
language.function.html.select.time
...Prev  Chapter 8. Custom Functions  Next {html_select_time} {html_s...
-
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...
-
variable.cache.dir
... 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...
-
smarty.for.designers
...filter} {strip} {while} 8. Custom Functions {counter} {cycle} {eval} {fetch} {ht...
-
language.function.html.select.date
...Prev  Chapter 8. Custom Functions  Next {html_select_date} {html_s...
-
language.modifier.regex.replace
...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 ...
-
language.custom.functions
... Chapter 8. Custom Functions Chapter 8. Custom Functions chapter, 8,...
-
language.function.mailto
... Any extra information you want passed to the link, such as style sheet classes ...
...Prev  Chapter 8. Custom Functions  Next {mailto} {mailto} automate...
-
language.function.textformat
...Prev  Chapter 8. Custom Functions  Next {textformat} {textformat} ...
-
language.function.eval
...Prev  Chapter 8. Custom Functions  Next {eval} {eval} is used to e...
-
language.builtin.functions
...You cannot create your own custom functions with the same name; and you should n...
-
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...
-
language.function.html.table
...Prev  Chapter 8. Custom Functions  Next {html_table} {html_table} ...
-
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: ...
-
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...
..._SUB(NOW(), INTERVAL ' . intval($exp_time) . ' SECOND)'; } // equal test cache_i...
-
language.function.html.checkboxes
...ut / content (values are always escaped) Required attributes are values and outp...
...Prev  Chapter 8. Custom Functions  Next {html_checkboxes} {html_ch...
-
troubleshooting
... 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...
-
language.function.html.image
...ath. This is useful if you want to supply a different server name for the image....
...Prev  Chapter 8. Custom Functions  Next {html_image} {html_image} ...
-
plugins.block.functions
...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 ...
-
preface
...ilosophy The Smarty design was largely driven by these goals: clean separation o...
... necessary flexibility for custom development security: insulation from PHP free...
-
variable.caching.type
...m based cache handler. See Custom Cache Implementation for pointers on setting u...
-
smarty.for.programmers
...() — mutes expected warnings and notices deliberately generated by Smarty...
...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...
-
caching.cacheable
...n-function get value as it was the time the page was written to cache everytime ...
... 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...
-
resources.extends
...ate Resources Home  Custom Template Resources ...
-
language.function.html.radios
...ut / content (values are always escaped) Required attributes are values and outp...
...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...
-
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...
-
tips.componentized.templates
...} . 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 ...
-
index
...() — mutes expected warnings and notices deliberately generated by Smarty...
...filter} {strip} {while} 8. Custom Functions {counter} {cycle} {eval} {fetch} {ht...
-
language.function.fetch
...Prev  Chapter 8. Custom Functions  Next {fetch} {fetch} is used to...
-
api.unregister.cacheresource
...terCacheResource() and the Custom CacheResource Implementation section. Prev Â...
-
language.function.cycle
...Prev  Chapter 8. Custom Functions  Next {cycle} {cycle} is used to...
-
api.get.registered.object
...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...
-
language.function.while
... Home  Chapter 8. Custom Functions ...
-
language.function.math
...Prev  Chapter 8. Custom Functions  Next {math} {math} allows the t...
-
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...
-
tips.wap
... WAP/WML WAP/WML wap, wml WAP/WML Prev  Chapter 21. Tips Tricks  N...
...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...
-
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...
-
api.mute.expected.errors
...() — mutes expected warnings and notices deliberately generated by Smarty...
...pectedErrors() registers a custom error handler using set_error_handler() . The ...
-
language.function.html.options
...Prev  Chapter 8. Custom Functions  Next {html_options} {html_optio...