Метод | Описание | |
---|---|---|
getElementName ( integer | null $index, boolean $withPrefix = true ) : string | Returns element's name. | |
getFirstError ( $index ) : string | Returns first error of the current model. | |
setModel ( $model ) |
Метод | Описание | |
---|---|---|
ensureModel ( $model ) : boolean | Ensure that model is an instance of yii\base\Model. |
protected ensureModel ( $model ) : boolean | ||
$model | ||
Результат | boolean |
public getFirstError ( $index ) : string | ||
$index | ||
Результат | string |