Browse Source

Fixes #6391: Added note clarifying config for ListView pager and sorter [skip ci]

tags/2.0.14
Alexander Makarov 7 years ago
parent
commit
9823345a74
No known key found for this signature in database
GPG Key ID: 3617B79C6A325E4A
  1. 4
      framework/widgets/BaseListView.php

4
framework/widgets/BaseListView.php

@ -40,14 +40,14 @@ abstract class BaseListView extends Widget
* @var array the configuration for the pager widget. By default, [[LinkPager]] will be
* used to render the pager. You can use a different widget class by configuring the "class" element.
* Note that the widget must support the `pagination` property which will be populated with the
* [[\yii\data\BaseDataProvider::pagination|pagination]] value of the [[dataProvider]].
* [[\yii\data\BaseDataProvider::pagination|pagination]] value of the [[dataProvider]] and will overwrite this value.
*/
public $pager = [];
/**
* @var array the configuration for the sorter widget. By default, [[LinkSorter]] will be
* used to render the sorter. You can use a different widget class by configuring the "class" element.
* Note that the widget must support the `sort` property which will be populated with the
* [[\yii\data\BaseDataProvider::sort|sort]] value of the [[dataProvider]].
* [[\yii\data\BaseDataProvider::sort|sort]] value of the [[dataProvider]] and will overwrite this value.
*/
public $sorter = [];
/**

Loading…
Cancel
Save