helpers\BaseHtml radio()

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

doc_Yii
2016-10-30 17:05:13
Comments
Leave a Comment

Please login to continue.