-
language.function.html.select.time
... Chapter 8. Custom Functions  Next {html_select_time} {html_select_t...
-
language.syntax.functions
... Functions Functions functions Functions Prev  Chapter 3. Basic Syntax...
-
language.function.html.select.date
... Chapter 8. Custom Functions  Next {html_select_date} {html_select_d...
-
language.custom.functions
... Chapter 8. Custom Functions Chapter 8. Custom Functions chapter, 8,...
-
language.function.config.load
... Chapter 7. Built-in Functions  Next {config_load} {config_load} is us...
-
language.function.textformat
... Chapter 8. Custom Functions  Next {textformat} {textformat} is a bl...
-
language.function.eval
... Chapter 8. Custom Functions  Next {eval} {eval} is used to evaluate...
-
language.builtin.functions
... Chapter 7. Built-in Functions Chapter 7. Built-in Functions chapter...
-
language.function.html.table
... Chapter 8. Custom Functions  Next {html_table} {html_table} is a cu...
-
language.function.foreach
... Chapter 7. Built-in Functions  Next {foreach},{foreachelse} {foreach}...
-
language.function.html.checkboxes
... Chapter 8. Custom Functions  Next {html_checkboxes} {html_checkboxe...
-
language.function.html.image
... Chapter 8. Custom Functions  Next {html_image} {html_image} is a cu...
-
api.functions
...dler() — register a function which gets called on undefined tags register...
-
plugins.block.functions
... Block Functions Block Functions block, functions Block Functions Prev  Chap...
-
language.function.if
... Chapter 7. Built-in Functions  Next {if},{elseif},{else} {if} stateme...
-
language.function.literal
... Chapter 7. Built-in Functions  Next {literal} {literal} tags allow a ...
-
language.function.html.radios
... Chapter 8. Custom Functions  Next {html_radios} {html_radios} is a ...
-
plugins.compiler.functions
... Compiler Functions Compiler Functions compiler, functions Compiler Functions Pr...
-
language.function.fetch
... Chapter 8. Custom Functions  Next {fetch} {fetch} is used to retrie...
-
language.function.cycle
... Chapter 8. Custom Functions  Next {cycle} {cycle} is used to altern...
-
plugins.functions
... Template Functions Template Functions template, functions Template Functions Pr...
-
language.function.math
... Chapter 8. Custom Functions  Next {math} {math} allows the template...
-
language.function.include.php
... Chapter 7. Built-in Functions  Next {include_php} IMPORTANT NOTICE {i...
-
language.function.ldelim
... Chapter 7. Built-in Functions  Next {ldelim},{rdelim} {ldelim} and {r...
-
language.function.insert
... Chapter 7. Built-in Functions  Next {insert} IMPORTANT NOTICE {insert...
-
language.function.call
... Chapter 7. Built-in Functions  Next {call} {call} is used to call a t...
-
language.function.function
... {function} {function} , ldelim, function, rdelim, {function} Prev  Chapter...
-
language.function.capture
... Chapter 7. Built-in Functions  Next {capture} {capture} is used to co...
-
language.function.html.options
... Chapter 8. Custom Functions  Next {html_options} {html_options} is ...
-
language.modifiers
...lied to variables , custom functions or strings. To apply a modifier, specify th...
-
tips.dates
...imestamp format. Here is a function to help you with that. Example 21.5. C...
-
variable.cache.lifetime
...with the clear_all_cache() function, or individual cache files (or groups) with ...
-
plugins.outputfilters
...meter to the output filter function is the template output that needs to be proc...
-
api.get.tags
...bject template ); This function returns an array of tagname/attribute pairs ...
-
api.unregister.plugin
... plugin. Valid values are "function", "block", "compiler" and "modifier". name d...
-
language.variables.smarty
...t-in {capture}..{/capture} function can be accessed using the {$smarty.capture} ...
-
api.test.install
...d testInstall (); This function verifies that all required working folders o...
-
smarty.for.designers
... Syntax Comments Variables Functions Attributes Embedding Vars in Double Quotes ...
-
language.syntax.variables
...} {$foo = strlen($bar)} // function in assignment {$foo = myfunct( ($x+$y)*3 )} ...
-
api.create.template
... this to each call to this function. It is used in the event that you want to ca...
-
language.escaping
... to embed Smarty variables/functions into your Javascript/CSS, then the followin...
-
api.append.by.ref
...like the PHP array_merge() function which wipes out numerical keys and renumbers...
-
variable.compile.id
...mpile_id to each and every function call, you can set this $compile_id and it wi...
-
caching
... With caching enabled, the function call to display('index.tpl') will render the...
-
language.modifier.replace
...to the PHP's str_replace() function. Parameter Position Type Required Default De...
-
language.syntax.quotes
...h modifiers, plugin or PHP function results. Example 3.5. Syntax examples ...
-
language.syntax.attributes
...ext Attributes Most of the functions take attributes that specify or modify thei...
-
api.register.default.plugin.handler
...dler() — register a function which gets called on undefined tags Descript...
-
language.modifier.lower
...nt to the PHP strtolower() function. Example 5.13. lower ?php $smarty- ass...
-
advanced.features
...tatic_classes = null. $php_functions is an array of PHP functions that are consi...
-
plugins.prefilters.postfilters
...parameter to the prefilter function is the template source, possibly modified by...
-
caching.custom
...this used to be a callback function called $cache_handler_func . Smarty3 replace...
-
chapter.debugging.console
..., see the {debug} template function. To disable the debugging console, set $debu...
-
api.unregister.filter
...r: A string containing the function name An array of the form array( $object, $m...
-
api.config.load
...the template {config_load} function. Technical Note As of Smarty 2.4.0, assigned...
-
troubleshooting
... directory A {config_load} function is within a template (or configLoad() has be...
-
tips.default.var.handling
...lt value with the {assign} function. Example 21.2. Assigning a template va...
-
plugins.writing
... one of the register_* API functions. They can also be unregistered by using unr...
-
advanced.features.outputfilters
...t argument, and expect the function to return the result of the processing. Exam...
-
plugins.inserts
...gins are used to implement functions that are invoked by {insert} tags in the te...
-
smarty.for.programmers
...dler() — register a function which gets called on undefined tags register...
-
language.modifier.upper
...nt to the PHP strtoupper() function. Example 5.23. upper ?php $smarty- ass...
-
plugins.resources
...er must then implement the function renderUncompiled(Smarty_Internal_Template $_...
-
language.modifier.wordwrap
...lent to the PHP wordwrap() function. Parameter Position Type Required Default De...
-
language.modifier.strip
..., use the built-in {strip} function. Example 5.19. strip ?php $smarty- ass...
-
caching.cacheable
...from the cache. The plugin function behaves a little like an {insert} function. ...
-
advanced.features.postfilters
...mplate postfilters are PHP functions that your templates are ran through after t...
-
plugins.naming.conventions
...nventions Plugin files and functions must follow a very specific naming conventi...
-
api.fetch
... this to each call to this function. Example 14.21. fetch() ?php include('...
-
api.compile.all.config
...teger maxerror ); This function compiles config files found in the $config_d...
-
api.register.filter
...r: A string containing the function name An array of the form array( $object, $m...
-
variable.debugging
...template with the {assign} function. The console can also be enabled from the ur...
-
api.display
... this to each call to this function. Example 14.19. display() ?php include...
-
caching.multiple.caches
...he second parameter to the function call. Example 15.6. Passing a $cache_i...
-
resources.custom
...by writing resource plugin functions and registering them with Smarty. See resou...
-
config.files
...with the built-in template function {config_load} or the API configLoad() functi...
-
installing.smarty.extended
...GuestBook extends Smarty { function __construct() { // Class Constructor. // The...
-
api.append
...like the PHP array_merge() function which wipes out numerical keys and renumbers...
-
tips.componentized.templates
... componentized template function.load_ticker.php - drop file in $plugins dire...
-
api.register.resource
...ormation on how to setup a function for fetching templates. Technical Note A res...
-
resources.streams
...esource from the display() function. $smarty- display('foo:bar.tpl'); ExampleÂ...
-
index
... Syntax Comments Variables Functions Attributes Embedding Vars in Double Quotes ...
-
api.get.registered.object
...seful from within a custom function when you need direct access to a registered ...
-
variable.default.config.handler.func
...t_config_handler_func This function is called when a config file cannot be obtai...
-
advanced.features.objects
...a syntax similar to custom functions . The other way is to assign() objects to t...
-
api.compile.all.templates
...teger maxerror ); This function compiles template files found in the $templa...
-
api.clear.compiled.tpl
...ardless of their age. This function is for advanced use only, not normally neede...
-
variable.default.template.handler.func
...template_handler_func This function is called when a template cannot be obtained...
-
language.modifier.date.format
...rapper to PHP's strftime() function. You may have more or less conversion specif...
-
tips.wap
...would be to write a custom function that prints the header. If you are using cac...
-
api.register.cacheresource
...this used to be a callback function called $cache_handler_func . Smarty3 replace...
-
language.modifier.nl2br
...alent to the PHP's nl2br() function. Example 5.14. nl2br ?php $smarty- ass...
-
variable.error.reporting
...d the muteExpectedErrors() function. Calling Smarty::muteExpectedErrors(); after...
-
plugins.modifiers
...fiers Modifiers are little functions that are applied to a variable in the templ...
-
api.register.plugin
...s ); This method registers functions or methods defined in your script as plugin...
-
advanced.features.prefilters
...emplate prefilters are PHP functions that your templates are ran through before ...
-
variable.cache.id
...cache_id to each and every function call, you can set this $cache_id and it will...