Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
yii
data
BaseDataProvider
setModels
yii\data\BaseDataProvider::setModels PHP Method
BaseDataProvider Class Documentation
Datei anzeigen
Open project: yiisoft/yii2
setModels()
public
method
Sets the data models in the current page.
public
setModels
(
array
$models
)
$models
array
the models in the current page
public function setModels($models) { $this->_models = $models; }
BaseDataProvider
getCount
getKeys
getModels
getPagination
getSort
getTotalCount
prepare
prepareKeys
prepareModels
prepareTotalCount
refresh
setKeys
setModels
setPagination
setSort
setTotalCount