-
language.function.eval
...output will be assigned to Technical Note Evaluated variables are treated the sa...
...his may cache the compiled state and thus doesn't have to run the (comparably sl...
-
api.append
...array instead of appended. Technical Note The merge parameter respects array key...
...array('city' = 'Lincoln', 'state' = 'Nebraska')); ? See also appendByRef() , ass...
-
installing.smarty.basic
...$name}, welcome to Smarty! Technical Note {* Smarty *} is a template comment . I...
...nged when you upgrade to a new version of Smarty. In the examples below the Smar...
-
variable.cache.dir
.... See also $use_sub_dirs . Technical Note This setting must be either a relative...
-
api.assign.by.ref
...he templates by reference. Technical Note With the introduction of PHP5, assignB...
-
variable.plugins.dir
...the order they are given . Technical Note For best performance, do not setup you...
-
api.append.by.ref
...he templates by reference. Technical Note With the introduction of PHP5, appendB...
-
variable.use.sub.dirs
...ference is almost nothing. Technical Note $use_sub_dirs=true doesn't work with s...
...th Solaris 7 (UFS)... with newer filesystems such as ext3 and especially reiserf...
-
variable.config.dir
... the executing php script. Technical Note It is not recommended to put this dire...
-
caching
...dering the template again. Technical Note The files in the $cache_dir are named ...
...ith a timetable containing new information by the minute, it would not make sens...
-
language.function.mailto
...l addresses off of a site. Technical Note Javascript is probably the most thorou...
...tring No n/a Email subject newsgroups string No n/a Newsgroups to post to, separ...
-
api.is.cached
...pass NULL as a $cache_id . Technical Note If isCached() returns TRUE it actually...
-
variable.template.dir
...t matching template found. Technical Note It is not recommended to put this dire...
-
chapter.debugging.console
...ion with $debugging_ctrl . Technical Note The debugging console does not work wh...
... It is a set of javascript statements added to the very bottom of the generated ...
-
api.config.load
...te {config_load} function. Technical Note As of Smarty 2.4.0, assigned template ...
-
language.function.html.image
...nside the created img tag. Technical Note {html_image} requires a hit to the dis...
-
api.assign
...array('city' = 'Lincoln', 'state' = 'Nebraska')); // passing an array $myArray =...
-
variable.compile.dir
...see install for more info. Technical Note This setting must be either a relative...
-
language.variables
...es PHP code ?php $smarty = new Smarty(); $smarty- assign('firstname', 'Doug'); $...
...ssign('meetingPlace', 'New York'); $smarty- display('index.tpl'); ? index.tpl so...
-
tips.obfuscating.email
...ipt' subject='Hello'} /div Technical Note This method isn't 100% foolproof. A sp...
-
api.register.filter
...ing a method of the class. Technical Note If the chosen function callback is of ...
-
api.display
...rty.class.php'); $smarty = new Smarty(); $smarty- setCaching(true); // only do d...
...rray( 'City' = 'Lincoln', 'State' = 'Nebraska', 'Zip' = '68502' ); $smarty- assi...
-
caching.multiple.caches
...is used as the $cache_id . Technical Note Be very cautious when passing values f...
...rty.class.php'); $smarty = new Smarty; $smarty- setCaching(Smarty::CACHING_LIFET...
-
api.register.resource
...on for fetching templates. Technical Note A resource name must be at least two c...
... registerResource('mysql', new Smarty_Resource_Mysql()); ? See also unregisterRe...
-
language.function.math
...ng output to the template. Technical Note {math} is an expensive function in per...
-
language.function.insert
...rresponding insert plugin. Technical Note It is possible to have portions of the...