Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
yii
data
DataProviderInterface
prepare
yii\data\DataProviderInterface::prepare PHP Method
DataProviderInterface Interface Documentation
Exibir arquivo
Open project: yiisoft/yii2
prepare()
public
method
This method will prepare the data models and keys that can be retrieved via
DataProviderInterface::getModels
and
DataProviderInterface::getKeys
. This method will be implicitly called by
DataProviderInterface::getModels
and
DataProviderInterface::getKeys
if it has not been called before.
public
prepare
(
boolean
$forcePrepare
= false )
$forcePrepare
boolean
whether to force data preparation even if it has been done before.
public function prepare($forcePrepare = false);
DataProviderInterface
getCount
getKeys
getModels
getPagination
getSort
getTotalCount
prepare