-
installing.smarty.basic
...red among all applications and only get changed when you upgrade to a new versio...
...$name}, welcome to Smarty! Technical Note {* Smarty *} is a template comment . I...
-
variable.cache.dir
...irectly. Use getCacheDir() and setCacheDir() instead. See also getCacheDir() , s...
.... See also $use_sub_dirs . Technical Note This setting must be either a relative...
-
api.assign.by.ref
...necessary for most intents and purposes. assignByRef() is useful if you want a P...
...he templates by reference. Technical Note With the introduction of PHP5, assignB...
-
variable.plugins.dir
...insDir() , setPluginsDir() and addPluginsDir() instead. See also getPluginsDir()...
...the order they are given . Technical Note For best performance, do not setup you...
-
api.append.by.ref
...necessary for most intents and purposes. appendByRef() is useful if you want a P...
...he templates by reference. Technical Note With the introduction of PHP5, appendB...
-
variable.use.sub.dirs
...der the compiled templates and cache directories if $use_sub_dirs is set to TRUE...
...ference is almost nothing. Technical Note $use_sub_dirs=true doesn't work with s...
-
variable.config.dir
...nfigDir() , setConfigDir() and addConfigDir() instead. See also getConfigDir() ,...
... the executing php script. Technical Note It is not recommended to put this dire...
-
caching
...reful what you are caching and for how long. For instance, if you are displaying...
...dering the template again. Technical Note The files in the $cache_dir are named ...
-
language.function.mailto
... of a mailto: anchor links and optionally encodes them. Encoding emails makes it...
...l addresses off of a site. Technical Note Javascript is probably the most thorou...
-
language.function.eval
...follow the same escapement and security features just as if they were templates....
...output will be assigned to Technical Note Evaluated variables are treated the sa...
-
api.is.cached
...ly loads the cached output and stores it internally. Any subsequent call to disp...
...pass NULL as a $cache_id . Technical Note If isCached() returns TRUE it actually...
-
variable.template.dir
...l traverse the directories and stop on the first matching template found. Techni...
...t matching template found. Technical Note It is not recommended to put this dire...
-
chapter.debugging.console
...plates, assigned variables and config file variables for the current invocation ...
...ion with $debugging_ctrl . Technical Note The debugging console does not work wh...
-
api.config.load
...” loads config file data and assigns it to the template Description void c...
...te {config_load} function. Technical Note As of Smarty 2.4.0, assigned template ...
-
language.function.html.image
...n HTML img tag. The height and width are automatically calculated from the image...
...nside the created img tag. Technical Note {html_image} requires a hit to the dis...
-
variable.compile.dir
...ectly. Use getCompileDir() and setCompileDir() instead. See also getCompileDir()...
...see install for more info. Technical Note This setting must be either a relative...
-
tips.obfuscating.email
...ource, yet it it will look and work correctly in the browser. This is done with ...
...ipt' subject='Hello'} /div Technical Note This method isn't 100% foolproof. A sp...
-
api.register.filter
...re "pre", "post", "output" and "variable". callback defines the PHP callback. it...
...ing a method of the class. Technical Note If the chosen function callback is of ...
-
caching.multiple.caches
...pending on some condition, and you want separate caches for each one. You can do...
...is used as the $cache_id . Technical Note Be very cautious when passing values f...
-
api.append
...onverted to an array value and then appended to. You can explicitly pass name/va...
...array instead of appended. Technical Note The merge parameter respects array key...
-
api.register.resource
...rty_resource resource_handler ); Use this to dynamically register a Resource...
...on for fetching templates. Technical Note A resource name must be at least two c...
-
language.function.math
... be used in the equations, and the result is printed in place of the tag. The va...
...ng output to the template. Technical Note {math} is an expensive function in per...
-
language.function.insert
...re deprecated from Smarty, and should not be used. Put your PHP logic in PHP scr...
...rresponding insert plugin. Technical Note It is possible to have portions of the...