libs/plugins/function.cycle.php-Dateireferenz

function.cycle.php-Dateireferenz

gehe zum Quellcode dieser Datei

Namensbereiche

 Smarty
 

Constant Groups

 Smarty
 

Funktionen

 smarty_function_cycle ($params, $template)
 

Dokumentation der Funktionen

smarty_function_cycle (   $params,
  $template 
)

Smarty {cycle} function plugin Type: function
Name: cycle
Date: May 3, 2002
Purpose: cycle through given values
Params:

  • name - name of cycle (optional)
  • values - comma separated list of values to cycle, or an array of values to cycle (this can be left out for subsequent calls)
  • reset - boolean - resets given var to true
  • print - boolean - print var or not. default is true
  • advance - boolean - whether or not to advance the cycle
  • delimiter - the value delimiter, default is ","
  • assign - boolean, assigns to template var instead of printed. Examples:
    {cycle values="#eeeeee,#d0d0d0d"}
    {cycle name=row values="one,two,three" reset=true}
    {cycle name=row}
    
{cycle}
          (Smarty online manual)
   Monte Ohrt 

Autor
credit to Mark Priatel mpria.nosp@m.tel@.nosp@m.roger.nosp@m.s.co.nosp@m.m
credit to Gerard gerar.nosp@m.d@in.nosp@m.terfo.nosp@m.ld.c.nosp@m.om
credit to Jason Sweat jswea.nosp@m.t_ph.nosp@m.p@yah.nosp@m.oo.c.nosp@m.om
Version
1.3
Parameter
array$paramsparameters
Smarty_Internal_Template$templatetemplate object
Rückgabe
string|null

Definiert in Zeile 47 der Datei function.cycle.php.




Korrekturen, Hinweise und Ergänzungen

Bitte scheuen Sie sich nicht und melden Sie, was auf dieser Seite sachlich falsch oder irreführend ist, was ergänzt werden sollte, was fehlt usw. Dazu bitte oben aus dem Menü Seite den Eintrag Support Forum wählen. Es ist eine kostenlose Anmeldung erforderlich, um Anmerkungen zu posten. Unpassende Postings, Spam usw. werden kommentarlos entfernt.