Class common\inputs\DateRangeInput
| Inheritance | common\inputs\DateRangeInput » common\inputs\BaseInput » yii\base\Object |
|---|
Class DateRangeInput Поле ввода диапазона дат
Public Properties
| Property | Type | Description | Defined By |
|---|---|---|---|
| $fromAttr | string | атрибут от | common\inputs\DateRangeInput |
| $modelField | common\db\fields\Field | поле модели | common\inputs\BaseInput |
| $options | array | Html атрибуты | common\inputs\BaseInput |
| $toAttr | string | атрибут до | common\inputs\DateRangeInput |
| $widgetOptions | array | парамеиры виджета | common\inputs\BaseInput |
Public Methods
| Method | Description | Defined By |
|---|---|---|
| init() | common\inputs\DateRangeInput | |
| renderInput() | Формирование Html кода поля для вывода в форме | common\inputs\DateRangeInput |
Protected Methods
| Method | Description | Defined By |
|---|---|---|
| getFormAttrName() | Возвращает имя атрибута для поля формы | common\inputs\BaseInput |
Property Details
атрибут от
атрибут до
Method Details
| void init( ) |
Формирование Html кода поля для вывода в форме
| string renderInput( \yii\widgets\ActiveForm $form, array $options = [], $index = false ) | ||
| $form | \yii\widgets\ActiveForm | объект форма |
| $options | array | массив html атрибутов поля |
| $index | bool|int | инднкс модели при табличном вводе |