input() public method
Renders an input tag.
| public $this input ( $type, $options = [] ) | ||
|---|---|---|
| $type | string |
The input type (e.g. |
| $options | array |
The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using yii\helpers\Html::encode(). If you set a custom |
| return | $this |
The field object itself. |
Please login to continue.