radio() public static method
Generates a radio button input.
public static string radio ( $name, $checked = false, $options = [] ) | ||
---|---|---|
$name | string |
The name attribute. |
$checked | boolean |
Whether the radio button should be checked. |
$options | array |
The tag options in terms of name-value pairs. See booleanInput() for details about accepted attributes. |
return | string |
The generated radio button tag |
Please login to continue.