Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rotua Panjaitan
yii2
Commits
02e3b451
Commit
02e3b451
authored
Sep 07, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed sorter from the default display of ListView.
parent
263dbd26
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
11 deletions
+1
-11
GridView.php
framework/yii/grid/GridView.php
+0
-10
ListViewBase.php
framework/yii/widgets/ListViewBase.php
+1
-1
No files found.
framework/yii/grid/GridView.php
View file @
02e3b451
...
@@ -124,16 +124,6 @@ class GridView extends ListViewBase
...
@@ -124,16 +124,6 @@ class GridView extends ListViewBase
* Both "format" and "label" are optional. They will take default values if absent.
* Both "format" and "label" are optional. They will take default values if absent.
*/
*/
public
$columns
=
array
();
public
$columns
=
array
();
/**
* @var string the layout that determines how different sections of the list view should be organized.
* The following tokens will be replaced with the corresponding section contents:
*
* - `{summary}`: the summary section. See [[renderSummary()]].
* - `{items}`: the list items. See [[renderItems()]].
* - `{sorter}`: the sorter. See [[renderSorter()]].
* - `{pager}`: the pager. See [[renderPager()]].
*/
public
$layout
=
"
{
items}\n{summary}\n{pager
}
"
;
public
$emptyCell
=
' '
;
public
$emptyCell
=
' '
;
/**
/**
* @var \yii\base\Model the model that keeps the user-entered filter data. When this property is set,
* @var \yii\base\Model the model that keeps the user-entered filter data. When this property is set,
...
...
framework/yii/widgets/ListViewBase.php
View file @
02e3b451
...
@@ -66,7 +66,7 @@ abstract class ListViewBase extends Widget
...
@@ -66,7 +66,7 @@ abstract class ListViewBase extends Widget
* - `{sorter}`: the sorter. See [[renderSorter()]].
* - `{sorter}`: the sorter. See [[renderSorter()]].
* - `{pager}`: the pager. See [[renderPager()]].
* - `{pager}`: the pager. See [[renderPager()]].
*/
*/
public
$layout
=
"
{
summary}\n{
sorter}\n{
items}\n{pager
}
"
;
public
$layout
=
"
{
summary}\n{items}\n{pager
}
"
;
/**
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment