smarty_function_html_radios [line 53]
string smarty_function_html_radios(
array $params, object &$smarty
)
|
|
Smarty {html_radios} function plugin
File: function.html_radios.php
Type: function
Name: html_radios
Date: 2005/06/11 13:13
Purpose: Prints out a list of radio input types
Input:
- name (optional) - string default "radio"
- values (required) - array
- options (optional) - associative array
- checked (optional) - array default not set
- separator (optional) - ie
or - output (optional) - the output next to each radio button
- assign (optional) - assign the output as an array to this variable
Examples:
{html_radios values=$ids output=$names}
{html_radios values=$ids name='box' separator='
' output=$names}
{html_radios values=$ids checked=$checked separator='
' output=$names}
Parameters:
|
array |
$params: |
パラメータ |
|
object |
$smarty: |
Smarty |
API Tags:
Information Tags:
smarty_function_html_radios_output [line 140]
void smarty_function_html_radios_output(
mixed $name, mixed $value, mixed $output, mixed $selected, mixed $extra, mixed $separator, mixed $labels
)
|
|