-
variable.cache.lifetime
...e caching a more efficient method is to set $caching = Smarty::CACHING_OFF). If ...
...ifetime This is the length of time in seconds that a template cache is valid. On...
-
api.unregister.plugin
...ter 14. Smarty Class Methods  Next Name unregisterPlugin — dyna...
...ers: type defines the type of the plugin. Valid values are "function", "block", ...
-
language.syntax.variables
...ence object properties and methods. Config file variables are an exception to th...
...-- display the 5th element of a zero-indexed array {$foo.bar} -- display the "ba...
-
api.create.template
...ter 14. Smarty Class Methods  Next Name createTemplate() — retu...
...e_id variable once instead of passing this to each call to this function. It is ...
-
api.set.template.dir
...ter 14. Smarty Class Methods  Next Name setTemplateDir() — set ...
...emplateDir()); // chaining of method calls $smarty- setTemplateDir('./templates'...
-
api.register.default.plugin.handler
...ter 14. Smarty Class Methods  Next Name registerDefaultPluginHandler()...
...the function name An array of the form array( $object, $method) with $object bei...
-
caching.custom
... * @note implementing this method is optional. Only implement it if modification...
...ng to achieve at least one of the following goals: replace the slow filesystem b...
-
api.unregister.filter
...ter 14. Smarty Class Methods  Next Name unregisterFilter() — dy...
...ers: type defines the type of the filter. Valid values are "pre", "post", "outpu...
-
advanced.features.static.classes
...ign var=foo value=myclass::method()} --- method result {assign var=foo value=myc...
...the Best Practices section of the Smarty website. Example 17.10. static cl...
-
advanced.features.outputfilters
... by using the loadFilter() method or by setting the $autoload_filters variable. ...
...ction to return the result of the processing. Example 17.13. Using a templ...
-
plugins.resources
... * @note implementing this method is optional. Only implement it if modification...
...are meant as a generic way of providing template sources or PHP script component...
-
api.add.plugins.dir
...ter 14. Smarty Class Methods  Next Name addPluginsDir() — add a...
...dd a directory to the list of directories where plugins are stored Description S...
-
api.set.cache.dir
...ter 14. Smarty Class Methods  Next Name setCacheDir() — set the...
...ir('./cache'); // chaining of method calls $smarty- setTemplateDir('./templates'...
-
tips.obfuscating.email
...} /div Technical Note This method isn't 100% foolproof. A spammer could conceiva...
...xample 21.8. Example of template the Obfuscating an email address div id="...
-
api.register.filter
...ter 14. Smarty Class Methods  Next Name registerFilter() — dyna...
...ers: type defines the type of the filter. Valid values are "pre", "post", "outpu...
-
language.function.assign
...te See also the short-form method of assigning template vars. Attributes: Attrib...
...ables during the execution of a template . Note Assignment of variables in-templ...
-
resources.custom
... * @note implementing this method is optional. Only implement it if modification...
-
language.config.variables
...e demonstrating the #hash# method: {config_load file='foo.conf'} html title {#pa...
-
api.set.config.dir
...ter 14. Smarty Class Methods  Next Name setConfigDir() — set th...
...tConfigDir()); // chaining of method calls $smarty- setTemplateDir('./templates'...
-
api.add.config.dir
...ter 14. Smarty Class Methods  Next Name addConfigDir() — add a ...
...dd a directory to the list of directories where config files are stored Descript...
-
advanced.features.objects
...re that all properties and methods accessed from the template are for presentati...
...the Best Practices section of the Smarty website. There are two ways to access t...
-
api.add.template.dir
...ter 14. Smarty Class Methods  Next Name addTemplateDir() — add ...
...dd a directory to the list of directories where templates are stored Description...
-
api.set.compile.dir
...ter 14. Smarty Class Methods  Next Name setCompileDir() — set t...
...templates_c'); // chaining of method calls $smarty- setTemplateDir('./templates'...
-
api.register.plugin
...ter 14. Smarty Class Methods  Next Name registerPlugin() — dyna...
...ers: type defines the type of the plugin. Valid values are "function", "block", ...
-
api.set.plugins.dir
...ter 14. Smarty Class Methods  Next Name setPluginsDir() — set t...
...PluginsDir()); // chaining of method calls $smarty- setTemplateDir('./templates'...