activeTextField()
публичный статический Метод
Generates a text field input for a model attribute.
public static activeTextField ( CModel $model, string $attribute, array $htmlOptions = [] ) : string |
$model |
CModel |
the data model. |
$attribute |
string |
the attribute. |
$htmlOptions |
array |
additional HTML attributes. |
Результат |
string |
the generated input field. |