rework grid/list/detail view guide and docs

This commit is contained in:
Carsten Brandt
2015-03-06 07:43:00 +01:00
parent fc0d322e12
commit cd0093f7bd
4 changed files with 151 additions and 84 deletions

View File

@ -37,15 +37,15 @@ 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 `pagination` value
* of [[dataProvider]].
* Note that the widget must support the `pagination` property which will be populated with the
* [[\yii\data\BaseDataProvider::pagination|pagination]] value of the [[dataProvider]].
*/
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 `sort` value
* of [[dataProvider]].
* Note that the widget must support the `sort` property which will be populated with the
* [[\yii\data\BaseDataProvider::sort|sort]] value of the [[dataProvider]].
*/
public $sorter = [];
/**