Browse Source

use `@inheritdoc` for ActiveDataProvider::setSort

tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
a2eb49cd3e
  1. 11
      framework/yii/data/ActiveDataProvider.php

11
framework/yii/data/ActiveDataProvider.php

@ -218,16 +218,7 @@ class ActiveDataProvider extends DataProvider
}
/**
* Sets the sort definition for this data provider.
* @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
* @inheritdoc
*/
public function setSort($value)
{

Loading…
Cancel
Save