libs/plugins/function.html_checkboxes.php-Dateireferenz

function.html_checkboxes.php-Dateireferenz

gehe zum Quellcode dieser Datei

Namensbereiche

 Smarty
 

Constant Groups

 Smarty
 

Funktionen

 smarty_function_html_checkboxes ($params, $template)
 
 smarty_function_html_checkboxes_output ($name, $value, $output, $selected, $extra, $separator, $labels, $label_ids, $escape=true)
 

Dokumentation der Funktionen

smarty_function_html_checkboxes (   $params,
  $template 
)

Smarty {html_checkboxes} function plugin File: function.html_checkboxes.php
Type: function
Name: html_checkboxes
Date: 24.Feb.2003
Purpose: Prints out a list of checkbox input types
Examples:

{html_checkboxes values=$ids output=$names}
{html_checkboxes values=$ids name='box' separator='
' output=$names} {html_checkboxes values=$ids checked=$checked separator='
' output=$names}

Params:

  • name (optional) - string default "checkbox"
  • values (required) - array
  • options (optional) - associative array
  • checked (optional) - array default not set
  • separator (optional) - ie
    or  
  • output (optional) - the output next to each checkbox
  • assign (optional) - assign the output as an array to this variable
  • escape (optional) - escape the content (not value), defaults to true
{html_checkboxes}
            (Smarty online manual)
     Christopher Kvarme chris.nosp@m.toph.nosp@m.er.kv.nosp@m.arme.nosp@m.@flas.nosp@m.hjab.nosp@m..com
     credits to Monte Ohrt 

Version
1.0
Parameter
array$paramsparameters
object$templatetemplate object
Rückgabe
string smarty_function_escape_special_chars()

Definiert in Zeile 46 der Datei function.html_checkboxes.php.

Benutzt smarty_function_html_checkboxes_output().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

smarty_function_html_checkboxes_output (   $name,
  $value,
  $output,
  $selected,
  $extra,
  $separator,
  $labels,
  $label_ids,
  $escape = true 
)

Definiert in Zeile 172 der Datei function.html_checkboxes.php.

Benutzt Smarty\$_UTF8_MODIFIER.

Wird benutzt von smarty_function_html_checkboxes().

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:




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.