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