mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-01 11:39:41 +08:00
(Docs) Fixed preview for $prepareDataProvider (#19055)
This commit is contained in:
@ -46,8 +46,8 @@ class IndexAction extends Action
|
|||||||
*/
|
*/
|
||||||
public $prepareDataProvider;
|
public $prepareDataProvider;
|
||||||
/**
|
/**
|
||||||
* @var callable a PHP callable that will be called to prepare query in prepareDataProvider
|
* @var callable a PHP callable that will be called to prepare query in prepareDataProvider.
|
||||||
* Should return $query
|
* Should return $query.
|
||||||
* For example:
|
* For example:
|
||||||
*
|
*
|
||||||
* ```php
|
* ```php
|
||||||
|
|||||||
Reference in New Issue
Block a user