From fc75ab87be5008807c529e0cb28a7911a71261d7 Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Sat, 28 Sep 2013 22:42:42 +0400 Subject: [PATCH] =?UTF-8?q?Renamed=20ListViewBase=20=E2=86=92=20BaseListVi?= =?UTF-8?q?ew?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- framework/yii/classes.php | 2 +- framework/yii/grid/GridView.php | 4 ++-- framework/yii/widgets/{ListViewBase.php => BaseListView.php} | 2 +- framework/yii/widgets/ListView.php | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) rename framework/yii/widgets/{ListViewBase.php => BaseListView.php} (99%) diff --git a/framework/yii/classes.php b/framework/yii/classes.php index d4f304c1d4..1469910015 100644 --- a/framework/yii/classes.php +++ b/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', diff --git a/framework/yii/grid/GridView.php b/framework/yii/grid/GridView.php index a783a75faf..f4433bc58e 100644 --- a/framework/yii/grid/GridView.php +++ b/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 * @since 2.0 */ -class GridView extends ListViewBase +class GridView extends BaseListView { const FILTER_POS_HEADER = 'header'; const FILTER_POS_FOOTER = 'footer'; diff --git a/framework/yii/widgets/ListViewBase.php b/framework/yii/widgets/BaseListView.php similarity index 99% rename from framework/yii/widgets/ListViewBase.php rename to framework/yii/widgets/BaseListView.php index 33186aeb67..7268fbc360 100644 --- a/framework/yii/widgets/ListViewBase.php +++ b/framework/yii/widgets/BaseListView.php @@ -17,7 +17,7 @@ use yii\helpers\Html; * @author Qiang Xue * @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. diff --git a/framework/yii/widgets/ListView.php b/framework/yii/widgets/ListView.php index c191389c35..1d8745d497 100644 --- a/framework/yii/widgets/ListView.php +++ b/framework/yii/widgets/ListView.php @@ -16,7 +16,7 @@ use yii\helpers\Html; * @author Qiang Xue * @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.