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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
51c1e313
Commit
51c1e313
authored
Jun 05, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved Pagination and Sort to data.
parent
b7c1f949
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
6 deletions
+8
-6
Pagination.php
framework/yii/data/Pagination.php
+3
-2
Sort.php
framework/yii/data/Sort.php
+3
-2
LinkPager.php
framework/yii/widgets/LinkPager.php
+1
-1
ListPager.php
framework/yii/widgets/ListPager.php
+1
-1
No files found.
framework/yii/
web
/Pagination.php
→
framework/yii/
data
/Pagination.php
View file @
51c1e313
...
...
@@ -5,9 +5,10 @@
* @license http://www.yiiframework.com/license/
*/
namespace
yii\
web
;
namespace
yii\
data
;
use
Yii
;
use
yii\base\Object
;
/**
* Pagination represents information relevant to pagination of data items.
...
...
@@ -62,7 +63,7 @@ use Yii;
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
class
Pagination
extends
\yii\base\
Object
class
Pagination
extends
Object
{
/**
* @var string name of the parameter storing the current page index. Defaults to 'page'.
...
...
framework/yii/
web
/Sort.php
→
framework/yii/
data
/Sort.php
View file @
51c1e313
...
...
@@ -5,9 +5,10 @@
* @license http://www.yiiframework.com/license/
*/
namespace
yii\
web
;
namespace
yii\
data
;
use
Yii
;
use
yii\base\Object
;
use
yii\helpers\Html
;
/**
...
...
@@ -68,7 +69,7 @@ use yii\helpers\Html;
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
class
Sort
extends
\yii\base\
Object
class
Sort
extends
Object
{
/**
* Sort ascending
...
...
framework/yii/widgets/LinkPager.php
View file @
51c1e313
...
...
@@ -11,7 +11,7 @@ use Yii;
use
yii\base\InvalidConfigException
;
use
yii\helpers\Html
;
use
yii\base\Widget
;
use
yii\
web
\Pagination
;
use
yii\
data
\Pagination
;
/**
* LinkPager displays a list of hyperlinks that lead to different pages of target.
...
...
framework/yii/widgets/ListPager.php
View file @
51c1e313
...
...
@@ -10,7 +10,7 @@ namespace yii\widgets;
use
yii\base\InvalidConfigException
;
use
yii\helpers\Html
;
use
yii\base\Widget
;
use
yii\
web
\Pagination
;
use
yii\
data
\Pagination
;
/**
* ListPager displays a drop-down list that contains options leading to different pages.
...
...
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