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