Smarty Icon

You may use the Smarty logo according to the trademark notice.

Smarty Template Engine Smarty Template Engine

For sponsorship, advertising, news or other inquiries, contact us at:

Sites Using Smarty

Advertisement

Search Results for "foreach"

  • language.function.foreach
    ... {foreach},{foreachelse} {foreach},{foreachelse} , ldelim, foreach, rdelim, ldel...
  • language.variables.smarty
    ...x , etc. Note The {$smarty.foreach} variable is no longer used with the new {for...
  • smarty.for.designers
    ...} {debug} {extends} {for} {foreach},{foreachelse} @index @iteration @first @last...
  • language.function.for
    ...ut: no iteration See also {foreach} , {section} and {while} Prev   Up   Ne...
  • language.builtin.functions
    ...} {debug} {extends} {for} {foreach},{foreachelse} @index @iteration @first @last...
  • caching.custom
    ..._keys = $lookup = array(); foreach ($keys as $k) { $_k = sha1($k); $_keys[] = $_...
  • api.assign
    ...lex array assignments see {foreach} and {section} See also assignByRef() , getTe...
  • language.function.if
    ...oo) count($foo) 0} {* do a foreach loop *} {/if} Prev   Up   Next {functio...
  • index
    ...} {debug} {extends} {for} {foreach},{foreachelse} @index @iteration @first @last...
  • language.function.while
    ...il 1 is reached. See also {foreach} , {for} and {section} . Prev   Up   Ne...
  • language.function.include
    ...="box" h3 {$title}{/h3 ul {foreach from=$links item=l} .. do stuff ... /foreach}...
  • language.function.include.php
    ...av.php'} {* short-hand *} {foreach item='nav' from=$navigation} a href="{$nav.ur...
  • language.function.section
    ...d arrays of data , unlike {foreach} which is used to loop over a single associat...
  • language.function.call
    ... ul class="level{$level}" {foreach $data as $entry} {if is_array($entry)} li {$e...
  • language.function.function
    ... ul class="level{$level}" {foreach $data as $entry} {if is_array($entry)} li {$e...
  • language.function.capture
    ...end="foo"}world{/capture} {foreach $foo as $text}{$text} {/foreach} The above ex...