helpers\BaseHtml activeRadioList()

activeRadioList() public static method Generates a list of radio buttons. A radio button list is like a checkbox list, except that it only allows single selection. The selection of the radio buttons is taken from the value of the model attribute. public static string activeRadioList ( $model, $attribute, $items, $options = [] )$model yii\base\Model The model object $attribute string The attribute name or expression. See getAttributeName() for the format about attribute expression. $it

helpers\BaseHtml activeRadio()

activeRadio() public static method Generates a radio button tag together with a label for the given model attribute. This method will generate the "checked" tag attribute according to the model attribute value. public static string activeRadio ( $model, $attribute, $options = [] )$model yii\base\Model The model object $attribute string The attribute name or expression. See getAttributeName() for the format about attribute expression. $options array The tag options in terms of name-va

helpers\BaseHtml activePasswordInput()

activePasswordInput() public static method Generates a password input tag for the given model attribute. This method will generate the "name" and "value" tag attributes automatically for the model attribute unless they are explicitly specified in $options. public static string activePasswordInput ( $model, $attribute, $options = [] )$model yii\base\Model The model object $attribute string The attribute name or expression. See getAttributeName() for the format about attribute expression

helpers\BaseHtml activeListInput()

activeListInput() protected static method Generates a list of input fields. This method is mainly called by activeListBox(), activeRadioList() and \yii\helpers\activeCheckBoxList(). protected static string activeListInput ( $type, $model, $attribute, $items, $options = [] )$type string The input type. This can be 'listBox', 'radioList', or 'checkBoxList'. $model yii\base\Model The model object $attribute string The attribute name or expression. See getAttributeName() for the format a

helpers\BaseHtml activeListBox()

activeListBox() public static method Generates a list box. The selection of the list box is taken from the value of the model attribute. public static string activeListBox ( $model, $attribute, $items, $options = [] )$model yii\base\Model The model object $attribute string The attribute name or expression. See getAttributeName() for the format about attribute expression. $items array The option data items. The array keys are option values, and the array values are the corresponding o

helpers\BaseHtml activeLabel()

activeLabel() public static method Generates a label tag for the given model attribute. The label text is the label associated with the attribute, obtained via yii\base\Model::getAttributeLabel(). public static string activeLabel ( $model, $attribute, $options = [] )$model yii\base\Model The model object $attribute string The attribute name or expression. See getAttributeName() for the format about attribute expression. $options array The tag options in terms of name-value pairs. The

helpers\BaseHtml activeInput()

activeInput() public static method Generates an input tag for the given model attribute. This method will generate the "name" and "value" tag attributes automatically for the model attribute unless they are explicitly specified in $options. public static string activeInput ( $type, $model, $attribute, $options = [] )$type string The input type (e.g. 'text', 'password') $model yii\base\Model The model object $attribute string The attribute name or expression. See getAttributeName() fo

helpers\BaseHtml activeHint()

activeHint() public static method (available since version 2.0.4) Generates a hint tag for the given model attribute. The hint text is the hint associated with the attribute, obtained via yii\base\Model::getAttributeHint(). If no hint content can be obtained, method will return an empty string. public static string activeHint ( $model, $attribute, $options = [] )$model yii\base\Model The model object $attribute string The attribute name or expression. See getAttributeName() for the for

helpers\BaseHtml activeHiddenInput()

activeHiddenInput() public static method Generates a hidden input tag for the given model attribute. This method will generate the "name" and "value" tag attributes automatically for the model attribute unless they are explicitly specified in $options. public static string activeHiddenInput ( $model, $attribute, $options = [] )$model yii\base\Model The model object $attribute string The attribute name or expression. See getAttributeName() for the format about attribute expression. $op

helpers\BaseHtml activeFileInput()

activeFileInput() public static method Generates a file input tag for the given model attribute. This method will generate the "name" and "value" tag attributes automatically for the model attribute unless they are explicitly specified in $options. public static string activeFileInput ( $model, $attribute, $options = [] )$model yii\base\Model The model object $attribute string The attribute name or expression. See getAttributeName() for the format about attribute expression. $options