Property | Type | Description | |
---|---|---|---|
$prepareDataProvider | a PHP callable that will be called to prepare a data provider that should return a collection of the models. If not set, IndexAction::prepareDataProvider will be used instead. The signature of the callable should be: php function ($action) { $action is the action object currently running } The callable should return an instance of [[ActiveDataProvider]]. |
Method | Description | |
---|---|---|
run ( ) : |
Method | Description | |
---|---|---|
prepareDataProvider ( ) : |
Prepares the data provider that should return the requested collection of the models. |
protected prepareDataProvider ( ) : |
||
return |
public $prepareDataProvider |