-
language.function.html.select.time
... /option /select See also $smarty.now , {html_select_date} and the date tips pag...
-
language.modifiers
...s Prev  Part II. Smarty For Template Designers  Next Chapter 5....
-
installing.smarty.basic
...c Installation Install the Smarty library files which are in the /libs/ sub dire...
-
tips.dates
...humb, always pass dates to Smarty as timestamps . This allows template designers...
-
charset
... Prev  Part III. Smarty For Programmers  Next Chapter 11. Ch...
-
variable.smarty.debug.id
... $smarty_debug_id $smarty_debug_id , smarty_debug_id $smarty_debug_id Prev  ...
-
variable.cache.lifetime
...rev  Chapter 13. Smarty Class Variables  Next $cache_lifetime This...
-
plugins.outputfilters
...hapter 18. Extending Smarty With Plugins  Next Output Filters Output f...
-
api.get.tags
...rev  Chapter 14. Smarty Class Methods  Next Name getTags() â€...
-
api.unregister.plugin
...rev  Chapter 14. Smarty Class Methods  Next Name unregisterPlugin ...
-
language.function.php
...} tags are deprecated from Smarty, and should not be used. Put your PHP logic in...
-
language.modifier.truncate
... 5.21. truncate ?php $smarty- assign('articleTitle', 'Two Sisters Reunite a...
-
variable.cache.locking
...rev  Chapter 13. Smarty Class Variables  Next $cache_locking Cache...
-
variable.cache.dir
...rev  Chapter 13. Smarty Class Variables  Next $cache_dir This is t...
-
variable.default.resource.type
...rev  Chapter 13. Smarty Class Variables  Next $default_resource_ty...
-
language.modifier.spacify
... 5.17. spacify ?php $smarty- assign('articleTitle', 'Something Went Wrong ...
-
language.variables.smarty
... {$smarty} reserved variable {$smarty} reserved variable , ldelim, smarty, rdeli...
-
api.template.exists
...rev  Chapter 14. Smarty Class Methods  Next Name templateExists() ...
-
language.syntax.functions
... Â Next Functions Every Smarty tag either prints a variable or invokes some s...
-
language.modifier.count.sentences
.... count_sentences ?php $smarty- assign('articleTitle', 'Two Soviet Ships Coll...
-
api.test.install
...rev  Chapter 14. Smarty Class Methods  Next Name testInstall() â...
-
smarty.for.designers
... Part II. Smarty For Template Designers Part II. Smarty For Template...
-
language.syntax.variables
...g #hashmarks#, or via the $smarty.config variable. Example 3.2. Variables ...
-
api.assign.by.ref
...rev  Chapter 14. Smarty Class Methods  Next Name assignByRef() â...
-
language.function.html.select.date
...ect_time} , date_format , $smarty.now and the date tips page . Prev  Up  ...
-
language.variable.scopes
...s to the scope of the main Smarty object, data objects created with createData()...
-
variable.escape.html
...rev  Chapter 13. Smarty Class Variables  Next $escape_html Setting...
-
api.create.template
...rev  Chapter 14. Smarty Class Methods  Next Name createTemplate() ...
-
language.escaping
... Escaping Smarty Parsing Escaping Smarty Parsing escaping, smarty, parsing Escap...
-
variable.trusted.dir
...rev  Chapter 13. Smarty Class Variables  Next $trusted_dir $truste...
-
variable.plugins.dir
...rev  Chapter 13. Smarty Class Variables  Next $plugins_dir This is...
-
language.function.nocache
...oday's date is {nocache} {$smarty.now|date_format} {/nocache} The above code wil...
-
variable.config.read.hidden
...rev  Chapter 13. Smarty Class Variables  Next $config_read_hidden ...
-
api.append.by.ref
...rev  Chapter 14. Smarty Class Methods  Next Name appendByRef() â...
-
variable.use.sub.dirs
...rev  Chapter 13. Smarty Class Variables  Next $use_sub_dirs Smarty...
-
language.modifier.regex.replace
... PHP manual. Note Although Smarty supplies this regex convenience modifier, it i...
-
variable.config.dir
...rev  Chapter 13. Smarty Class Variables  Next $config_dir This is ...
-
variable.compile.id
...rev  Chapter 13. Smarty Class Variables  Next $compile_id Persista...
-
caching
... Prev  Part III. Smarty For Programmers  Next Chapter 15. Ca...
-
language.modifier.replace
... 5.16. replace ?php $smarty- assign('articleTitle', "Child's Stool Great f...
-
variable.default.modifiers
...rev  Chapter 13. Smarty Class Variables  Next $default_modifiers T...
-
language.syntax.quotes
...ding Vars in Double Quotes Smarty will recognize assigned variables embedded in ...
-
advanced.features.template.inheritance
...ck} tag option flags and {$smarty.block.parent} or {$smarty.block.child} placeho...
-
variable.compiler.class
...rev  Chapter 13. Smarty Class Variables  Next $compiler_class Spec...
-
api.set.template.dir
...rev  Chapter 14. Smarty Class Methods  Next Name setTemplateDir() ...
-
variable.debugging.ctrl
...rev  Chapter 13. Smarty Class Variables  Next $debugging_ctrl This...
-
language.custom.functions
...s Prev  Part II. Smarty For Template Designers  Next Chapter 8....
-
language.syntax.attributes
...ir behavior. Attributes to Smarty functions are much like HTML attributes. Stati...
-
inforesources
...hapter 22. Resources Smarty's homepage is located at http://www.smarty.net...
-
api.register.default.plugin.handler
...rev  Chapter 14. Smarty Class Methods  Next Name registerDefaultPl...
-
language.modifier.lower
...le 5.13. lower ?php $smarty- assign('articleTitle', 'Two Convicts Evade No...
-
language.function.eval
...tr = 'The server name is {$smarty.server.SERVER_NAME|upper} ' .'at {$smarty.serv...
-
api.is.cached
...rev  Chapter 14. Smarty Class Methods  Next Name isCached() â€...
-
getting.started
...ble of Contents 1. What is Smarty? 2. Installation Requirements Basic Installati...
-
language.function.for
... Using the max attribute $smarty- assign('to',10); ul {for $foo=3 to $to max=3}...
-
variable.template.dir
...rev  Chapter 13. Smarty Class Variables  Next $template_dir This i...
-
language.basic.syntax
...x Prev  Part II. Smarty For Template Designers  Next Chapter 3....
-
language.builtin.functions
...s Prev  Part II. Smarty For Template Designers  Next Chapter 7....
-
smarty.constants
... Prev  Part III. Smarty For Programmers  Next Chapter 12. Co...
-
advanced.features
... Prev  Part III. Smarty For Programmers  Next Chapter 17. Ad...
-
language.function.html.table
....19. {html_table} ?php $smarty- assign( 'data', array(1,2,3,4,5,6,7,8,9) ); $...
-
resources.string
... String Template Resources Smarty can render templates from a string by using th...
-
plugins
...hapter 18. Extending Smarty With Plugins Chapter 18. Extending Smart...
-
advanced.features.template.settings
...Normally you configure the Smarty settings by modifying the Smarty class variabl...
-
bugs
...the latest distribution of Smarty, or check the website. Prev  Up  Chapt...
-
language.function.foreach
...tes. This syntax is new to Smarty 3, however the Smarty 2.x syntax {foreach from...
-
plugins.prefilters.postfilters
...hapter 18. Extending Smarty With Plugins  Next Prefilters/Postfilters ...
-
caching.custom
...lear cached files. Note In Smarty2 this used to be a callback function called $c...
-
tips
...re is a shorthand way with Smarty, using the default variable modifier. Note â...
-
language.function.html.checkboxes
... {html_checkboxes} ?php $smarty- assign('cust_ids', array(1000,1001,1002,1003)...
-
chapter.debugging.console
...e Prev  Part II. Smarty For Template Designers  Next Chapter 10...
-
api.get.config.vars
...rev  Chapter 14. Smarty Class Methods  Next Name getConfigVars() ...
-
language.function.extends
... the $cache_id . Otherwise Smarty cannot distinguish between different $parent_f...
-
api.unregister.filter
...rev  Chapter 14. Smarty Class Methods  Next Name unregisterFilter(...
-
variable.config.booleanize
...rev  Chapter 13. Smarty Class Variables  Next $config_booleanize I...
-
api.config.load
...rev  Chapter 14. Smarty Class Methods  Next Name configLoad() â...
-
troubleshooting
...shooting Table of Contents Smarty/PHP errors Smarty/PHP errors Smarty can catch ...
-
api.functions
... Chapter 14. Smarty Class Methods Chapter 14. Smarty Class Methods c...
-
plugins.block.functions
...hapter 18. Extending Smarty With Plugins  Next Block Functions void sm...
-
variable.php.handling
...rev  Chapter 13. Smarty Class Variables  Next $php_handling This t...
-
language.combining.modifiers
...s Prev  Part II. Smarty For Template Designers  Next Chapter 6....
-
preface
...Preface The Philosophy The Smarty design was largely driven by these goals: clea...
-
variable.locking.timeout
...rev  Chapter 13. Smarty Class Variables  Next $locking_timeout Thi...
-
plugins.writing
...hapter 18. Extending Smarty With Plugins  Next Writing Plugins Plugins...
-
language.math
...$foo+$bar`"} Note Although Smarty can handle some very complex expressions and s...
-
tips.passing.vars
....tpl - Notice that “ Smarty News †is printed if the $title variable...
-
variable.caching.type
...rev  Chapter 13. Smarty Class Variables  Next $caching_type This p...
-
variable.cache.modified.check
...rev  Chapter 13. Smarty Class Variables  Next $cache_modified_chec...
-
api.get.template.vars
...rev  Chapter 14. Smarty Class Methods  Next Name getTemplateVars()...
-
advanced.features.static.classes
...t Practices section of the Smarty website. Example 17.10. static class acc...
-
api.unregister.object
...rev  Chapter 14. Smarty Class Methods  Next Name unregisterObject(...
-
variable.caching
...rev  Chapter 13. Smarty Class Variables  Next $caching This tells ...
-
advanced.features.outputfilters
...autoload_filters variable. Smarty will pass the template output as the first arg...
-
plugins.inserts
...hapter 18. Extending Smarty With Plugins  Next Inserts Insert plugins ...
-
smarty.for.programmers
... Part III. Smarty For Programmers Part III. Smarty For Programmers p...
-
language.modifier.upper
...le 5.23. upper ?php $smarty- assign('articleTitle', "If Strike isn't Settl...
-
variable.right.delimiter
...rev  Chapter 13. Smarty Class Variables  Next $right_delimiter Thi...
-
plugins.resources
...hapter 18. Extending Smarty With Plugins  Next Resources Resource plug...
-
appendixes
...ntents 20. Troubleshooting Smarty/PHP errors 21. Tips Tricks Blank Variable Hand...
-
language.modifier.wordwrap
... 5.24. wordwrap ?php $smarty- assign('articleTitle', "Blind woman gets new ...
-
variable.debug_template
...rev  Chapter 13. Smarty Class Variables  Next $debug_tpl This is t...
-
language.function.block
...ck} definition. With the {$smarty.block.parent} the {block} content of the paren...
-
api.clear.assign
...rev  Chapter 14. Smarty Class Methods  Next Name clearAssign() â...
-
language.modifier.strip
...le 5.19. strip ?php $smarty- assign('articleTitle', "Grandmother of\neight...
-
variable.autoload.filters
...rev  Chapter 13. Smarty Class Variables  Next $autoload_filters If...
-
api.get.template.dir
...rev  Chapter 14. Smarty Class Methods  Next Name getTemplateDir() ...
-
caching.cacheable
... page gets cached. However Smarty3 offers several options how to exclude section...
-
what.is.smarty
... Chapter 1. What is Smarty? Chapter 1. What is Smarty? chapter, 1, w...
-
bc
... Chapter 19. SmartyBC - Backwards Compatibility Wrapper Chapter 19. ...
-
caching.groups
...he('foo.tpl','a|b|c') then Smarty will attempt to remove '/a/b/c/foo.tpl' . You ...
-
api.assign
...rev  Chapter 14. Smarty Class Methods  Next Name assign() —...
-
language.function.if
...,{else} {if} statements in Smarty have much the same flexibility as PHP if state...
-
variable.compile.dir
...rev  Chapter 13. Smarty Class Variables  Next $compile_dir This is...
-
api.add.plugins.dir
...rev  Chapter 14. Smarty Class Methods  Next Name addPluginsDir() ...
-
language.variables
...s Prev  Part II. Smarty For Template Designers  Next Chapter 4....
-
advanced.features.postfilters
...autoload_filters variable. Smarty will pass the compiled template code as the fi...
-
api.set.cache.dir
...rev  Chapter 14. Smarty Class Methods  Next Name setCacheDir() â...
-
language.modifier.unescape
...e 5.22. escape ?php $smarty- assign('articleTitle', "Germans use quot; Uum...
-
plugins.naming.conventions
...hapter 18. Extending Smarty With Plugins  Next Naming Conventions Plug...
-
language.modifier.escape
...e 5.10. escape ?php $smarty- assign('articleTitle', "'Stiff Opposition Exp...
-
api.fetch
...rev  Chapter 14. Smarty Class Methods  Next Name fetch() — ...
-
resources.extends
...mplate Interitance . As of Smarty 3.1 the extends: resource may use any availabl...
-
api.compile.all.config
...rev  Chapter 14. Smarty Class Methods  Next Name compileAllConfig(...
-
api.register.filter
...rev  Chapter 14. Smarty Class Methods  Next Name registerFilter() ...
-
variable.debugging
...rev  Chapter 13. Smarty Class Variables  Next $debugging This enab...
-
api.display
...rev  Chapter 14. Smarty Class Methods  Next Name display() â€...
-
api.get.compile.dir
...rev  Chapter 14. Smarty Class Methods  Next Name getCompileDir() ...
-
language.function.assign
.... {assign var="foo" value="Smarty"} The template variables are only available af...
-
caching.multiple.caches
...to display() ?php require('Smarty.class.php'); $smarty = new Smarty; $smarty- se...
-
language.function.literal
...normally not necessary, as Smarty ignores delimiters that are surrounded by whit...
-
language.function.html.radios
...adios} first example ?php $smarty- assign('cust_ids', array(1000,1001,1002,1003)...
-
resources.custom
... and registering them with Smarty. See resource plugins section for more informa...
-
config.files
...s Prev  Part II. Smarty For Template Designers  Next Chapter 9....
-
api.register.object
...rev  Chapter 14. Smarty Class Methods  Next Name registerObject() ...
-
language.config.variables
...#hash_marks# , or with the smarty variable $smarty.config . The later syntax is ...
-
plugins.compiler.functions
...hapter 18. Extending Smarty With Plugins  Next Compiler Functions Comp...
-
api.get.cache.dir
...rev  Chapter 14. Smarty Class Methods  Next Name getCacheDir() â...
-
api.unregister.resource
...rev  Chapter 14. Smarty Class Methods  Next Name unregisterResourc...
-
installing.smarty.extended
...more flexible way to setup Smarty is to extend the class and initialize your Sma...
-
language.modifier.string.format
...18. string_format ?php $smarty- assign('number', 23.5787446); ? Where templat...
-
api.set.config.dir
...rev  Chapter 14. Smarty Class Methods  Next Name setConfigDir() â...
-
api.append
...rev  Chapter 14. Smarty Class Methods  Next Name append() —...
-
variable.force.compile
...rev  Chapter 13. Smarty Class Variables  Next $force_compile This ...
-
variable.default.config.type
...rev  Chapter 13. Smarty Class Variables  Next $default_config_type...
-
tips.componentized.templates
...Then, you instantiate your Smarty object, assign() the variables and display() t...
-
api.register.resource
...rev  Chapter 14. Smarty Class Methods  Next Name registerResource(...
-
resources.streams
...l template resource names. Smarty will first look for a registered template reso...
-
api.load.filter
...rev  Chapter 14. Smarty Class Methods  Next Name loadFilter() â...
-
index
... Smarty 3 Manual Smarty 3 Manual smarty, 3, manual Smarty 3 Manual   Â...
-
api.unregister.cacheresource
...rev  Chapter 14. Smarty Class Methods  Next Name unregisterCacheRe...
-
api.get.registered.object
...rev  Chapter 14. Smarty Class Methods  Next Name getRegisteredObje...
-
language.modifier.strip.tags
...5.20. strip_tags ?php $smarty- assign('articleTitle', "Blind Woman Gets font...
-
language.modifier.indent
...e 5.12. indent ?php $smarty- assign('articleTitle', 'NJ judge to rule on n...
-
language.modifier.count.characters
... count_characters ?php $smarty- assign('articleTitle', 'Cold Wave Linked to T...
-
api.add.config.dir
...rev  Chapter 14. Smarty Class Methods  Next Name addConfigDir() â...
-
variable.default.config.handler.func
...rev  Chapter 13. Smarty Class Variables  Next $default_config_hand...
-
advanced.features.objects
...Features  Next Objects Smarty allows access to PHP objects through the templ...
-
api.compile.all.templates
...rev  Chapter 14. Smarty Class Methods  Next Name compileAllTemplat...
-
api.clear.compiled.tpl
...rev  Chapter 14. Smarty Class Methods  Next Name clearCompiledTemp...
-
language.modifier.count.paragraphs
... count_paragraphs ?php $smarty- assign('articleTitle', "War Dims Hope for Pea...
-
plugins.functions
...hapter 18. Extending Smarty With Plugins  Next Template Functions void...
-
language.function.while
...t {while} {while} loops in Smarty have much the same flexibility as PHP while st...
-
variable.default.template.handler.func
...rev  Chapter 13. Smarty Class Variables  Next $default_template_ha...
-
language.function.include
...nclude 'header.tpl' title='Smarty is cool'} {$navbar} {* body of template goes h...
-
api.get.plugins.dir
...rev  Chapter 14. Smarty Class Methods  Next Name getPluginsDir() ...
-
language.modifier.date.format
...at. Dates can be passed to Smarty as unix timestamps , DateTime objects , mysql ...
-
variable.left.delimiter
...rev  Chapter 13. Smarty Class Variables  Next $left_delimiter This...
-
language.function.include.php
...de_php} is deprecated from Smarty, use registered plugins to properly insulate p...
-
variable.auto.literal
...rev  Chapter 13. Smarty Class Variables  Next $auto_literal The Sm...
-
api.enable.security
...rev  Chapter 14. Smarty Class Methods  Next Name enableSecurity() ...
-
variable.config.overwrite
...rev  Chapter 13. Smarty Class Variables  Next $config_overwrite If...
-
api.disable.security
...rev  Chapter 14. Smarty Class Methods  Next Name disableSecurity()...
-
language.function.section
...rties are accessible as: {$smarty.section.name.property} where “ name â...
-
api.add.template.dir
...rev  Chapter 14. Smarty Class Methods  Next Name addTemplateDir() ...
-
resources
... Prev  Part III. Smarty For Programmers  Next Chapter 16. Re...
-
variable.compile.check
...rev  Chapter 13. Smarty Class Variables  Next $compile_check Upon ...
-
language.function.ldelim
...e also the complimentary {$smarty.ldelim} . Example 7.57. {ldelim}, {rdeli...
-
api.variables
... Chapter 13. Smarty Class Variables Chapter 13. Smarty Class Variabl...
-
language.function.insert
...} tags are deprecated from Smarty, and should not be used. Put your PHP logic in...
-
tips.wap
...in your application, or in Smarty.addons.php function insert_header($params) { /...
-
language.function.call
... defined global. Since the Smarty compiler is a single-pass compiler, The {call}...
-
api.clear.config
...rev  Chapter 14. Smarty Class Methods  Next Name clearConfig() â...
-
api.register.cacheresource
...rev  Chapter 14. Smarty Class Methods  Next Name registerCacheReso...
-
language.function.function
... defined global. Since the Smarty compiler is a single-pass compiler, The {call}...
-
variable.use.include.path
...rev  Chapter 13. Smarty Class Variables  Next $use_include_path Th...
-
language.function.capture
...emplate from the variable $smarty.capture.foo where “ foo †is the v...
-
api.set.compile.dir
...rev  Chapter 14. Smarty Class Methods  Next Name setCompileDir() ...
-
language.modifier.count.words
...5.7. count_words ?php $smarty- assign('articleTitle', 'Dealers Will Hear Car...
-
api.clear.all.cache
...rev  Chapter 14. Smarty Class Methods  Next Name clearAllCache() ...
-
language.modifier.nl2br
...le 5.14. nl2br ?php $smarty- assign('articleTitle', "Sun or rain expected\...
-
installation
...xtended Setup Requirements Smarty requires a web server running PHP 5.2 or great...
-
api.create.data
...rev  Chapter 14. Smarty Class Methods  Next Name createData() â...
-
variable.error.reporting
...rev  Chapter 13. Smarty Class Variables  Next $error_reporting Whe...
-
variable.direct.access.security
...rev  Chapter 13. Smarty Class Variables  Next $direct_access_secur...
-
variable.force.cache
...rev  Chapter 13. Smarty Class Variables  Next $force_cache This fo...
-
plugins.modifiers
...hapter 18. Extending Smarty With Plugins  Next Modifiers Modifiers are...
-
variable.merge.compiled.includes
...rev  Chapter 13. Smarty Class Variables  Next $merge_compiled_incl...
-
api.register.plugin
...rev  Chapter 14. Smarty Class Methods  Next Name registerPlugin() ...
-
api.register.class
...rev  Chapter 14. Smarty Class Methods  Next Name registerClass() ...
-
api.clear.cache
...rev  Chapter 14. Smarty Class Methods  Next Name clearCache() â...
-
api.clear.all.assign
...rev  Chapter 14. Smarty Class Methods  Next Name clearAllAssign() ...
-
api.set.plugins.dir
...rev  Chapter 14. Smarty Class Methods  Next Name setPluginsDir() ...
-
api.mute.expected.errors
... Smarty::muteExpectedErrors() Smarty::muteExpectedErrors() smarty, muteexpectede...
-
language.modifier.cat
...ample 5.3. cat ?php $smarty- assign('articleTitle', "Psychics predict worl...
-
language.modifier.default
...e 5.9. default ?php $smarty- assign('articleTitle', 'Dealers Will Hear Car...
-
api.get.config.dir
...rev  Chapter 14. Smarty Class Methods  Next Name getConfigDir() â...
-
advanced.features.prefilters
...autoload_filters variable. Smarty will pass the template source code as the firs...
-
variable.compile.locking
...rev  Chapter 13. Smarty Class Variables  Next $compile_locking Com...
-
variable.cache.id
...rev  Chapter 13. Smarty Class Variables  Next $cache_id Persistent...
-
language.function.html.options
...he options attribute ?php $smarty- assign('myOptions', array( 1800 = 'Joe Schmoe...