Public Member Functions | |
formRadio ($name, $value=null, $attribs=null, $options=null, $listsep="<br />\n") | |
Protected Attributes | |
$_inputType = 'radio' | |
$_isArray = false |
Definition at line 39 of file FormRadio.php.
formRadio | ( | $ | name, |
$ | value = null , |
||
$ | attribs = null , |
||
$ | options = null , |
||
$ | listsep = "<br />\n" |
||
) |
Generates a set of radio button elements.
public
string | array | $name | If a string, the element name. If an array, all other parameters are ignored, and the array elements are extracted in place of added parameters. |
mixed | $value | The radio value to mark as 'checked'. |
array | $options | An array of key-value pairs where the array key is the radio value, and the array value is the radio text. |
array | string | $attribs | Attributes added to each radio. |
Definition at line 71 of file FormRadio.php.