Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
yii
widgets
InputWidget
hasModel
yii\widgets\InputWidget::hasModel PHP Method
InputWidget Class Documentation
显示文件
Open project: yiisoft/yii2
hasModel()
protected
method
protected
hasModel
( ) :
boolean
return
boolean
whether this widget is associated with a data model.
protected function hasModel() { return $this->model instanceof Model && $this->attribute !== null; }
InputWidget
hasModel
init