mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-13 04:38:03 +08:00
Renamed ListViewBase → BaseListView
This commit is contained in:
@@ -235,7 +235,7 @@ return array(
|
|||||||
'yii\widgets\LinkPager' => YII_PATH . '/widgets/LinkPager.php',
|
'yii\widgets\LinkPager' => YII_PATH . '/widgets/LinkPager.php',
|
||||||
'yii\widgets\LinkSorter' => YII_PATH . '/widgets/LinkSorter.php',
|
'yii\widgets\LinkSorter' => YII_PATH . '/widgets/LinkSorter.php',
|
||||||
'yii\widgets\ListView' => YII_PATH . '/widgets/ListView.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\MaskedInput' => YII_PATH . '/widgets/MaskedInput.php',
|
||||||
'yii\widgets\MaskedInputAsset' => YII_PATH . '/widgets/MaskedInputAsset.php',
|
'yii\widgets\MaskedInputAsset' => YII_PATH . '/widgets/MaskedInputAsset.php',
|
||||||
'yii\widgets\Menu' => YII_PATH . '/widgets/Menu.php',
|
'yii\widgets\Menu' => YII_PATH . '/widgets/Menu.php',
|
||||||
|
|||||||
@@ -14,13 +14,13 @@ use yii\base\InvalidConfigException;
|
|||||||
use yii\base\Widget;
|
use yii\base\Widget;
|
||||||
use yii\db\ActiveRecord;
|
use yii\db\ActiveRecord;
|
||||||
use yii\helpers\Html;
|
use yii\helpers\Html;
|
||||||
use yii\widgets\ListViewBase;
|
use yii\widgets\BaseListView;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Qiang Xue <qiang.xue@gmail.com>
|
* @author Qiang Xue <qiang.xue@gmail.com>
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
*/
|
*/
|
||||||
class GridView extends ListViewBase
|
class GridView extends BaseListView
|
||||||
{
|
{
|
||||||
const FILTER_POS_HEADER = 'header';
|
const FILTER_POS_HEADER = 'header';
|
||||||
const FILTER_POS_FOOTER = 'footer';
|
const FILTER_POS_FOOTER = 'footer';
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ use yii\helpers\Html;
|
|||||||
* @author Qiang Xue <qiang.xue@gmail.com>
|
* @author Qiang Xue <qiang.xue@gmail.com>
|
||||||
* @since 2.0
|
* @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.
|
* @var array the HTML attributes for the container tag of the list view.
|
||||||
@@ -16,7 +16,7 @@ use yii\helpers\Html;
|
|||||||
* @author Qiang Xue <qiang.xue@gmail.com>
|
* @author Qiang Xue <qiang.xue@gmail.com>
|
||||||
* @since 2.0
|
* @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.
|
* @var array the HTML attributes for the container of the rendering result of each data model.
|
||||||
|
|||||||
Reference in New Issue
Block a user