Generates a check box list for a model attribute.
public static activeCheckBoxList ( CModel $model, string $attribute, array $data, array $htmlOptions = [] ) : string | ||
$model | CModel | the data model. |
$attribute | string | the attribute. |
$data | array | $data value-label pairs used to generate the check box list. |
$htmlOptions | array | additional HTML attributes. |
Результат | string | the generated list. |