smarty_function_html_radios()
smarty_function_html_radios(array $params, \Smarty_Internal_Template $template) : string
Smarty {html_radios} function plugin File: function.html_radios.php<br> Type: function<br> Name: html_radios<br> Date: 24.Feb.2003<br> Purpose: Prints out a list of radio input types<br> Params: <pre> - name (optional) - string default "radio" - values (required) - array - options (required) - associative array - checked (optional) - array default not set - separator (optional) - ie <br> or - output (optional) - the output next to each radio button - assign (optional) - assign the output as an array to this variable - escape (optional) - escape the content (not value), defaults to true </pre> Examples: <pre> {html_radios values=$ids output=$names} {html_radios values=$ids name='box' separator='<br>' output=$names} {html_radios values=$ids checked=$checked separator='<br>' output=$names} </pre>
Parameters
array | $params | parameters |
\Smarty_Internal_Template | $template | template object |