vendor/smarty/smarty/libs/pluginsfunction.html_checkboxes.php

Smarty plugin

Functions

smarty_function_html_checkboxes()

smarty_function_html_checkboxes(array  $params, object  $template) : string

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> 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> Params: <pre> - 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 - escape (optional) - escape the content (not value), defaults to true </pre>

Parameters

array $params

parameters

object $template

template object

Returns

string

smarty_function_html_checkboxes_output()

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

Parameters

$name
$value
$output
$selected
$extra
$separator
$labels
$label_ids
$escape