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