-
api.unregister.plugin
...on plugin ?php // we don't want template designers to have access to function pl...
...id values are "function", "block", "compiler" and "modifier". name defines the n...
..."block", "compiler" and "modifier". name defines the name of the plugin. Example...
-
language.function.php
... template includes a {php} block that assign's the variable $varX *} {php} globa...
...ow PHP code to be embedded directly into the template. They will not be escaped,...
-
language.variables.smarty
...ion of Smarty the template was compiled with. div id="footer" Powered by Smarty ...
...rty.version} /div {$smarty.block.child} Returns block text from child template. ...
... below: Example 4.8. Displaying request variables {* display value of page...
-
smarty.for.designers
...{$smarty.version} {$smarty.block.child} {$smarty.block.parent} {$smarty.ldelim},...
... Functions Attributes Embedding Vars in Double Quotes Math Escaping Smarty Parsi...
-
caching
...n modified since the cache was generated, the cache is immediately regenerated. ...
...th the {nocache}{/nocache} block function, the {insert} function, or by using th...
...used to speed up a call to display() or fetch() by saving its output to a file. ...
-
language.syntax.quotes
...ngs. This is useful if you want to include variables with modifiers, plugin or P...
... {/if} defined"} // Smarty block function Example 3.6. Examples {* will re...
... Embedding Vars in Double Quotes Embedding Vars in Double Quotes embedding, vars...
-
advanced.features.template.inheritance
...tree can be as deep as you want, meaning you can extend a file that extends anot...
...r some of the parent named block areas. The inheritance tree can be as deep as y...
...d by child templates. Extending means that the child template can override all o...
-
language.function.textformat
...tformat} {textformat} is a block function used to format text. It basically clea...
-
language.basic.syntax
...******* Multi line comment block with credits block @ author: bg@example.com @ m...
... Functions Attributes Embedding Vars in Double Quotes Math Escaping Smarty Parsi...
-
language.builtin.functions
...ar=...} {append} {assign} {block} {call} {capture} {config_load} {debug} {extend...
...are compiled into corresponding inline PHP code for maximum performance. You can...
-
advanced.features
...plates eg via ftp, and you want to reduce the risk of system security compromise...
...f constants can function-, block and filter plugins that should be accessible to...
...ou have untrusted parties editing the templates eg via ftp, and you want to redu...
-
plugins
...xception of resources, backwards compatibility with the old way of registering h...
...mplate Functions Modifiers Block Functions Compiler Functions Prefilters/Postfil...
... Chapter 18. Extending Smarty With Plugins Chapter 18. Extending Sma...
-
language.function.extends
...} tag it may contain only {block} tags. Any other template content is ignored. U...
...plate inheritance for extending parent templates. For details see section of Tem...
-
plugins.block.functions
... Block Functions Block Functions block, functions Block Functions Prev  Chap...
... Chapter 18. Extending Smarty With Plugins  Next Block Functions vo...
-
smarty.for.programmers
...() — mutes expected warnings and notices deliberately generated by Smarty...
...mplate Functions Modifiers Block Functions Compiler Functions Prefilters/Postfil...
...f Contents 11. Charset Encoding Charset Encoding 12. Constants SMARTY_DIR 13. Sm...
-
language.function.block
...}The {$smarty.block.child} was inserted here{/block} /title /head /html child.tp...
... {block} {block} , ldelim, block, rdelim, {block} Prev  Chapter 7. Bui...
...e will replace the correponding areas in the parent template(s). Optionally {blo...
-
caching.cacheable
...n-function get value as it was the time the page was written to cache everytime ...
..._CURRENT); function smarty_block_dynamic($param, $content, $smarty) { return $co...
...y of Tags Caching for an individual tag can be disabled by adding the "nocache" ...
-
language.variables
..."{#bgcolor#}" Note An easy way to examine assigned Smarty variables is with the ...
...{$smarty.version} {$smarty.block.child} {$smarty.block.parent} {$smarty.ldelim},...
...template} {$smarty.current_dir} {$smarty.version} {$smarty.block.child} {$smarty...
-
language.function.setfilter
...{setfilter}...{/setfilter} block tag allows the definition of template instance'...
...pecified by it's name. A modidier specified by it's name and optional additional...
-
plugins.naming.conventions
...n types: function modifier block compiler prefilter postfilter outputfilter reso...
... Chapter 18. Extending Smarty With Plugins  Next Naming Conventions...
-
resources.extends
...d.tpl|grandchild.tpl|eval:{block name="fooBazVar_"}hello world{/block}'); ? See ...
...e template resource , including string: and eval: . When templates from strings ...
-
language.function.assign
...ext {append} Home  {block} ...
...ed in PHP. Use at your own discretion. Note See also the short-form method of as...
-
language.function.literal
...al} {literal} tags allow a block of data to be taken literally. This is typicall...
...gs is not interpreted, but displayed as-is. If you need template tags embedded i...
-
plugins.compiler.functions
...ile name and * the time it was compiled. * -------------------------------------...
...) . Prev  Up  Next Block Functions Home  Prefilters/Postfilters ...
... Chapter 18. Extending Smarty With Plugins  Next Compiler Functions...
-
index
...() — mutes expected warnings and notices deliberately generated by Smarty...
...{$smarty.version} {$smarty.block.child} {$smarty.block.parent} {$smarty.ldelim},...
...pyright © 2001-2011 New Digital Group, Inc. 2011-11-29 Table of Contents Pref...
-
advanced.features.objects
...rty website. There are two ways to access them. One way is to register objects t...
... that should be treated as blocks. That means these methods have a closing tag i...
...s to poor designs that are difficult to manage. See the Best Practices section o...
-
language.function.section
...step through the array backwards. max integer No n/a Sets the maximum number of ...
...y to output a table header block every five rows. table {section name=co loop=$c...
...: Name Description nocache Disables caching of the {section} loop Required attri...
-
language.function.call
...n} Prev  Up  Next {block} Home  {capture} ...
...emplate. Otherwise you can directly use the function as {funcname ...} in the te...
-
language.function.capture
...name attribute {* we don't want to print a div tag unless content is displayed *...
...a The name of the captured block assign string No n/a The variable name where to...
...into a variable instead of displaying it. Any content between {capture name='foo...
-
plugins.modifiers
...ate Functions Home  Block Functions ...
... Modifiers Modifiers modifiers Modifiers Prev  Chapter 18. Extending S...
-
api.register.plugin
...id values are "function", "block", "compiler" and "modifier". name defines the n...
..."block", "compiler" and "modifier". name defines the name of the plugin. callbac...