Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
yii
widgets
InputWidget
hasModel
yii\widgets\InputWidget::hasModel PHP Méthode
InputWidget Class Documentation
Afficher le fichier
Open project: yiisoft/yii2
hasModel()
protected
méthode
protected
hasModel
( ) :
boolean
Résultat
boolean
whether this widget is associated with a data model.
protected function hasModel() { return $this->model instanceof Model && $this->attribute !== null; }
InputWidget
hasModel
init