-
installing.smarty.basic
...pplications and only get changed when you upgrade to a new version of Smarty. In...
...cript. If you get an error saying the Smarty.class.php file could not be found, ...
-
api.get.tags
-
language.function.append
-
variable.default.resource.type
-
language.variables.smarty
...miter value literally, the same as {ldelim},{rdelim} . See also assigned variabl...
-
api.template.exists
-
smarty.for.designers
-
language.syntax.variables
...hin tags {$foo="this is message {counter}"} // tags within double quoted strings...
-
api.assign.by.ref
... assignByRef() is not necessary for most intents and purposes. assignByRef() is ...
-
language.variable.scopes
-
api.create.template
...es compiled for different languages. parent is an optional parameter. It is an u...
...e different content of the same template, such as pages for displaying different...
-
api.append.by.ref
... appendByRef() is not necessary for most intents and purposes. appendByRef() is ...
-
caching
...ur website that does not change its content very often, it might work well to ca...
...to display() or fetch() by saving its output to a file. If a cached version of t...
-
api.is.cached
...o clearCache() and other changes of the cache-settings may have no effect after ...
...r Smarty::CACHING_LIFETIME_SAVED to enable caching. See the caching section for ...
-
language.builtin.functions
... custom functions with the same name; and you should not need to modify the buil...
-
language.function.html.table
-
advanced.features.template.settings
... Changing settings by template Changing settings by template changing, settings,...
-
language.function.foreach
...Name Description nocache Disables caching of the {foreach} loop Example 7.30....
-
caching.custom
... quote($compile_id); } // range test expiration time if ($exp_time !== null) { $...
...fetchTimestamp; protected $save; public function __construct() { try { $this- db...
-
troubleshooting
-
advanced.features.outputfilters
... templates before they are saved to the disk, whereas output filters operate on ...
-
plugins.resources
...urce failed: ' . $e- getMessage()); } $this- fetch = $this- db- prepare('SELECT ...
-
language.modifier.strip
-
caching.cacheable
...ed template code. If you change the status you must manually delete existing com...
...an individual tag can be disabled by adding the "nocache" option flag to the tag...
-
caching.groups
-
language.variables
-
advanced.features.postfilters
-
api.fetch
...es compiled for different languages. You can also set the $compile_id variable o...
... different versions of the same template, such as having separate templates comp...
-
api.display
...es compiled for different languages. You can also set the $compile_id variable o...
... different versions of the same template, such as having separate templates comp...
-
language.function.assign
...by all templates using the same root tree. {assign var=foo value="bar" scope="ro...
-
caching.multiple.caches
...splay() or fetch() . Let's say that a call to display('index.tpl') may have seve...
-
resources.custom
...urce failed: ' . $e- getMessage()); } $this- fetch = $this- db- prepare('SELECT ...
-
plugins.compiler.functions
...ction registered under the same name, the compiler function has precedence. mixe...
-
installing.smarty.extended
...ctory paths, assigning the same vars, etc., we can do that in one place. Lets cr...
-
tips.componentized.templates
...ay() the template. So lets say for example we have a stock ticker on our templat...
-
api.register.resource
-
index
...vanced Features Security Changing settings by template Template Inheritance Stre...
...eturns a template object disableSecurity() — disables template security d...
-
advanced.features.objects
...method and property of the same name exist, the method will be used. You can res...
-
api.clear.compiled.tpl
-
language.function.section
...ray of 3000 to 3015 $id = range(3000,3015); $smarty- assign('arr',$id); ? Templa...
...Name Description nocache Disables caching of the {section} loop Required attribu...
-
resources
...t_resource_type has been changed. If the file resource cannot find the requested...
...play('file:index.tpl'); // same as above ? From within a Smarty template {includ...
-
api.create.data
-
api.clear.cache
-
advanced.features.prefilters