Function smarty_function_html_checkboxes
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='<br>' output=$names} {html_checkboxes values=$ids checked=$checked separator='<br>' output=$names}
Params:
- name (optional) - string default "checkbox" - values (required) - array - options (optional) - associative array - checked (optional) - array default not set - separator (optional) - ie <br> 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
Package: Smarty\PluginsFunction
Author: Christopher Kvarme christopher.kvarme@flashjab.com
Author: credits to Monte Ohrt
Version: 1.0
Uses:
Link: {html_checkboxes} (Smarty online manual)
Located at plugins/smarty/smarty_source/plugins/function.html_checkboxes.php
Author: Christopher Kvarme christopher.kvarme@flashjab.com
Author: credits to Monte Ohrt
Version: 1.0
Uses:
smarty_function_escape_special_chars()
Link: {html_checkboxes} (Smarty online manual)
Located at plugins/smarty/smarty_source/plugins/function.html_checkboxes.php
array |
$params |
parameters |
object |
$template |
template object |
string
|
string |