-
api.display
... display() display() display, display() Prev  Chapter 14. Smarty Class...
-
language.function.html.select.time
... dropdowns for you. It can display any or all of hour, minute, second and meridi...
-
installing.smarty.basic
....tpl file that Smarty will display. This needs to be located in the $template_di...
-
variable.cache.lifetime
... value just before calling display() or fetch() . If $force_compile is enabled, ...
-
language.modifier.truncate
...pecify a string of text to display at the end if the variable was truncated. The...
-
variable.default.resource.type
...le , meaning that $smarty- display('index.tpl') and $smarty- display('file:index...
-
language.variables.smarty
... below: Example 4.8. Displaying request variables {* display value of page...
-
api.template.exists
...xist then an error page is displayed instead. First the page_container.tpl html ...
-
language.syntax.variables
....2. Variables {$foo} -- displaying a simple variable (non array/object) {$foo...
-
language.function.html.select.date
...tes date dropdowns. It can display any or all of year, month, and day. All param...
-
language.variable.scopes
...h are rendered by $smarty- display(...) or $smarty- fetch(...) calls are automat...
-
api.create.template
...ter can be rendered by the display or fetch method. It uses the following parame...
-
language.escaping
...name', 'Albert'); $smarty- display('example.tpl'); ? Where the template is: Welc...
-
caching
...used to speed up a call to display() or fetch() by saving its output to a file. ...
-
advanced.features.template.inheritance
...you are calling fetch() or display() with the extends: template resource type. T...
-
language.function.mailto
... string No n/a The text to display, default is the e-mail address encode string ...
-
api.is.cached
...ly. Any subsequent call to display() or fetch() will return this internally stor...
-
language.builtin.functions
..."sub_template.tpl"} ... {* display variable assigned in sub_template *} {$foo} b...
-
language.function.html.table
... the number of elements to display to be just enough cols to display all element...
-
resources.string
...lue'); $template_string = 'display {$foo} here'; $smarty- display('string:'.$tem...
-
advanced.features.template.settings
...cheLifetime(600); $smarty- display($tpl); ? Example 17.5. register plugins...
-
language.function.foreach
...sign('res',$res); $smarty- display('index.tpl');? ? {foreach $res as $r} {$r.id}...
-
chapter.debugging.console
...tch() API, only when using display() . It is a set of javascript statements adde...
-
api.config.load
...invocations of fetch() and display() . Config vars loaded from configLoad() are ...
-
language.function.html.image
...ual image height Height to display image width string No actual image width Widt...
-
api.functions
...disables template security display() — displays the template enableSecuri...
-
advanced.features.outputfilters
...he template is invoked via display() or fetch() , its output can be sent through...
-
smarty.for.programmers
...disables template security display() — displays the template enableSecuri...
-
plugins.resources
...e from php script $smarty- display("mysql:index.tpl"); ? And from within Smarty ...
-
language.modifier.strip
...t hole in one."); $smarty- display('index.tpl'); ? Where template is: {$articleT...
-
caching.cacheable
...lled everytime the page is displayed, even if the page comes from the cache. The...
-
caching.groups
...te file structure, such as display('themes/blue/index.tpl','themes|blue') , then...
-
language.variables
...es in Smarty can be either displayed directly or used as arguments for functions...
-
advanced.features.postfilters
...header_comment'); $smarty- display('index.tpl'); ? The postfilter above will mak...
-
api.fetch
...template output instead of displaying it. Supply a valid template resource type ...
-
resources.extends
...e PHP script ?php $smarty- display('extends:parent.tpl|child.tpl|grandchild.tpl'...
-
language.function.assign
..."sub_template.tpl"} ... {* display variable assigned in sub_template *} {$foo} b...
-
caching.multiple.caches
...files for a single call to display() or fetch() . Let's say that a call to displ...
-
resources.custom
...e from php script $smarty- display("mysql:index.tpl"); ? And from within Smarty ...
-
installing.smarty.extended
...gn('name','Ned'); $smarty- display('index.tpl'); ? Now you see it is quite simpl...
-
tips.componentized.templates
...assign() the variables and display() the template. So lets say for example we ha...
-
api.register.resource
...ile path, such as $smarty- display('c:/path/to/index.tpl'); Note Prior to Smarty...
-
resources.streams
...template resource from the display() function. $smarty- display('foo:bar.tpl'); ...
-
index
...disables template security display() — displays the template enableSecuri...
-
language.function.fetch
...e system, http, or ftp and display the contents. If the file name begins with ht...
-
advanced.features.objects
...'myobj', $myobj); $smarty- display('index.tpl'); ? And here's how to access your...
-
language.function.include
...igned to, instead of being displayed. Similar to {assign} . Variables can be pas...
-
api.enable.security
...y . Prev  Up  Next display() Home  fetch() ...
-
api.disable.security
...ateTemplate() Home  display() ...
-
resources
...riety of sources. When you display() or fetch() a template, or when you include ...
-
language.function.insert
...ts. These results are then displayed in the template in place of the {insert} ta...
-
api.create.data
...ate('index.tpl',$data); // display the template $tpl- display(); ? See also disp...
-
variable.error.reporting
..._reporting level inside of display() and fetch() . Smarty 3.1.2 introduced the m...
-
advanced.features.prefilters
...ve_dw_comments'); $smarty- display('index.tpl'); ? See also registerFilter() , p...
-
variable.cache.id
...files for a single call to display() or fetch() depending for example from diffe...
-
language.function.html.options
... as an html optgroup , and display the groups. Recursion is supported with optgr...