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;
|
||||
/**
|
||||
* @var callable a PHP callable that will be called to prepare query in prepareDataProvider
|
||||
* Should return $query
|
||||
* @var callable a PHP callable that will be called to prepare query in prepareDataProvider.
|
||||
* Should return $query.
|
||||
* For example:
|
||||
*
|
||||
* ```php
|
||||
|
||||
Reference in New Issue
Block a user