예제 #1
0
 /**
  * @inheritdoc
  */
 public static function activeCheckbox($model, $attribute, $options = [])
 {
     return Checkbox::widget(['model' => $model, 'attribute' => $attribute, 'options' => $options]);
 }
예제 #2
0
 /**
  * @inheritdoc
  */
 public function init()
 {
     parent::init();
     Html::addCssClass($this->wrapperOptions, 'radio');
 }