Procedural File: function.html_checkboxes.php

Source Location: /smarty/libs/plugins/function.html_checkboxes.php



Classes:

Page Details:

Smarty plugin





smarty_function_html_checkboxes

string smarty_function_html_checkboxes( array $params, Smarty &$smarty)

[line 41]

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) - the output next to each checkbox
  • assign (optional) - assign the output as an array to this variable
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}

Tags:

Parameters

  • array $params -
  • Smarty &$smarty -

[ Top ]

smarty_function_html_checkboxes_output

void smarty_function_html_checkboxes_output( $name, $value, $output, $selected, $extra, $separator, $labels)

[line 126]

Parameters

  • $name -
  • $value -
  • $output -
  • $selected -
  • $extra -
  • $separator -
  • $labels -

[ Top ]


Documentation generated on Tue, 26 May 2009 14:50:34 -0700 by phpDocumentor 1.4.1