Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 3 |
| ActiveForm | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2.00 | |
0.00% |
0 / 3 |
| field | |
0.00% |
0 / 1 |
2.00 | |
0.00% |
0 / 3 |
|||
| <?php | |
| namespace common\widgets; | |
| class ActiveForm extends \yii\bootstrap\ActiveForm | |
| { | |
| /** | |
| * @var string the default field class name when calling [[field()]] to create a new field. | |
| * @see fieldConfig | |
| */ | |
| public $fieldClass = 'common\widgets\ActiveField'; | |
| /** | |
| * {@inheritdoc} | |
| * @return ActiveField the created ActiveField object | |
| */ | |
| public function field($model, $attribute, $options = []) | |
| { | |
| return parent::field($model, $attribute, $options); | |
| } | |
| } |