Browse Source

Renamed ListViewBase → BaseListView

tags/2.0.0-beta
Alexander Makarov 11 years ago
parent
commit
fc75ab87be
  1. 2
      framework/yii/classes.php
  2. 4
      framework/yii/grid/GridView.php
  3. 2
      framework/yii/widgets/BaseListView.php
  4. 2
      framework/yii/widgets/ListView.php

2
framework/yii/classes.php

@ -235,7 +235,7 @@ return array(
'yii\widgets\LinkPager' => YII_PATH . '/widgets/LinkPager.php',
'yii\widgets\LinkSorter' => YII_PATH . '/widgets/LinkSorter.php',
'yii\widgets\ListView' => YII_PATH . '/widgets/ListView.php',
'yii\widgets\ListViewBase' => YII_PATH . '/widgets/ListViewBase.php',
'yii\widgets\BaseListView' => YII_PATH . '/widgets/BaseListView.php',
'yii\widgets\MaskedInput' => YII_PATH . '/widgets/MaskedInput.php',
'yii\widgets\MaskedInputAsset' => YII_PATH . '/widgets/MaskedInputAsset.php',
'yii\widgets\Menu' => YII_PATH . '/widgets/Menu.php',

4
framework/yii/grid/GridView.php

@ -14,13 +14,13 @@ use yii\base\InvalidConfigException;
use yii\base\Widget;
use yii\db\ActiveRecord;
use yii\helpers\Html;
use yii\widgets\ListViewBase;
use yii\widgets\BaseListView;
/**
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
class GridView extends ListViewBase
class GridView extends BaseListView
{
const FILTER_POS_HEADER = 'header';
const FILTER_POS_FOOTER = 'footer';

2
framework/yii/widgets/ListViewBase.php → framework/yii/widgets/BaseListView.php

@ -17,7 +17,7 @@ use yii\helpers\Html;
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
abstract class ListViewBase extends Widget
abstract class BaseListView extends Widget
{
/**
* @var array the HTML attributes for the container tag of the list view.

2
framework/yii/widgets/ListView.php

@ -16,7 +16,7 @@ use yii\helpers\Html;
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
class ListView extends ListViewBase
class ListView extends BaseListView
{
/**
* @var array the HTML attributes for the container of the rendering result of each data model.

Loading…
Cancel
Save