mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-19 16:01:57 +08:00
use @inheritdoc for ActiveDataProvider::setSort
This commit is contained in:
@@ -218,16 +218,7 @@ class ActiveDataProvider extends DataProvider
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the sort definition for this data provider.
|
* @inheritdoc
|
||||||
* @param array|Sort|boolean $value the sort definition to be used by this data provider.
|
|
||||||
* This can be one of the following:
|
|
||||||
*
|
|
||||||
* - a configuration array for creating the sort definition object. The "class" element defaults
|
|
||||||
* to 'yii\data\Sort'
|
|
||||||
* - an instance of [[Sort]] or its subclass
|
|
||||||
* - false, if sorting needs to be disabled.
|
|
||||||
*
|
|
||||||
* @throws InvalidParamException
|
|
||||||
*/
|
*/
|
||||||
public function setSort($value)
|
public function setSort($value)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user