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
ed14eaaa
Commit
ed14eaaa
authored
Jan 20, 2014
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added docs about # link to sort and paginiation
fixes #2072
parent
86933cd7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
Pagination.php
framework/data/Pagination.php
+1
-1
Sort.php
framework/data/Sort.php
+2
-0
No files found.
framework/data/Pagination.php
View file @
ed14eaaa
...
@@ -86,7 +86,7 @@ class Pagination extends Object
...
@@ -86,7 +86,7 @@ class Pagination extends Object
* @var array parameters (name => value) that should be used to obtain the current page number
* @var array parameters (name => value) that should be used to obtain the current page number
* and to create new pagination URLs. If not set, all parameters from $_GET will be used instead.
* and to create new pagination URLs. If not set, all parameters from $_GET will be used instead.
*
*
* In order to add hash to all links use
array_merge($_GET, ['#' => 'my-hash'])
.
* In order to add hash to all links use
`array_merge($_GET, ['#' => 'my-hash'])`
.
*
*
* The array element indexed by [[pageVar]] is considered to be the current page number.
* The array element indexed by [[pageVar]] is considered to be the current page number.
* If the element does not exist, the current page number is considered 0.
* If the element does not exist, the current page number is considered 0.
...
...
framework/data/Sort.php
View file @
ed14eaaa
...
@@ -168,6 +168,8 @@ class Sort extends Object
...
@@ -168,6 +168,8 @@ class Sort extends Object
* @var array parameters (name => value) that should be used to obtain the current sort directions
* @var array parameters (name => value) that should be used to obtain the current sort directions
* and to create new sort URLs. If not set, $_GET will be used instead.
* and to create new sort URLs. If not set, $_GET will be used instead.
*
*
* In order to add hash to all links use `array_merge($_GET, ['#' => 'my-hash'])`.
*
* The array element indexed by [[sortVar]] is considered to be the current sort directions.
* The array element indexed by [[sortVar]] is considered to be the current sort directions.
* If the element does not exist, the [[defaults|default order]] will be used.
* If the element does not exist, the [[defaults|default order]] will be used.
*
*
...
...
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