Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
yii
data
DataProviderInterface
prepare
yii\data\DataProviderInterface::prepare PHP 메소드
DataProviderInterface 0 문서
파일 보기
프로젝트 열기: yiisoft/yii2
prepare()
공개
메소드
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