/smarty/plugins/function.html_checkboxes.php

Description

Smarty plugin

Functions
smarty_function_html_checkboxes (line 40)

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
Input:

  • name (optional) - string default "checkbox"
  • values (required) - array
  • options (optional) - associative array
  • checked (optional) - array default not set
  • separator (optional) - ie
    or  
  • output (optional) - without this one the buttons don't have names
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}

string smarty_function_html_checkboxes (array $params, Smarty &$smarty)
  • array $params
  • Smarty &$smarty
smarty_function_html_checkboxes_output (line 118)
void smarty_function_html_checkboxes_output (mixed $name, mixed $value, mixed $output, mixed $selected, mixed $extra, mixed $separator, mixed $labels)

Documentation generated on Thu, 04 Sep 2008 16:15:11 +0400 by phpDocumentor 1.3.0RC3