data\BaseDataProvider prepare()

prepare() public method

Prepares the data models and keys.

This method will prepare the data models and keys that can be retrieved via getModels() and getKeys().

This method will be implicitly called by getModels() and getKeys() if it has not been called before.

public void prepare ( $forcePrepare = false )
$forcePrepare boolean

Whether to force data preparation even if it has been done before.

doc_Yii
2016-10-30 16:55:49
Comments
Leave a Comment

Please login to continue.