[ Index ]
 

Code source de Serendipity 1.2

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/bundled-libs/Smarty/libs/plugins/ -> function.html_checkboxes.php (sommaire)

Smarty plugin

Poids: 143 lignes (4 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 2 fonctions

  smarty_function_html_checkboxes()
  smarty_function_html_checkboxes_output()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

smarty_function_html_checkboxes($params, &$smarty)   X-Ref
Smarty {html_checkboxes} function plugin

File:       function.html_checkboxes.php<br>
Type:       function<br>
Name:       html_checkboxes<br>
Date:       24.Feb.2003<br>
Purpose:    Prints out a list of checkbox input types<br>
Input:<br>
- name       (optional) - string default "checkbox"
- values     (required) - array
- options    (optional) - associative array
- checked    (optional) - array default not set
- separator  (optional) - ie <br> or &nbsp;
- output     (optional) - the output next to each checkbox
- assign     (optional) - assign the output as an array to this variable
Examples:
<pre>
{html_checkboxes values=$ids output=$names}
{html_checkboxes values=$ids name='box' separator='<br>' output=$names}
{html_checkboxes values=$ids checked=$checked separator='<br>' output=$names}
</pre>
author: Christopher Kvarme <christopher.kvarme@flashjab.com>
author: credits to Monte Ohrt <monte at ohrt dot com>
param: array
param: Smarty
return: string

smarty_function_html_checkboxes_output($name, $value, $output, $selected, $extra, $separator, $labels)   X-Ref
Pas de description



Généré le : Sat Nov 24 09:00:37 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics