mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Rename pagination() to Pagination()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44242 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
cdd3eadb91
commit
68e9570c8d
@ -464,7 +464,7 @@ JS;
|
|||||||
* @return Object DataObjectSet
|
* @return Object DataObjectSet
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function pagination() {
|
function Pagination() {
|
||||||
$this->pageSize = 9;
|
$this->pageSize = 9;
|
||||||
$currentItem = $this->PopupCurrentItem();
|
$currentItem = $this->PopupCurrentItem();
|
||||||
$result = new DataObjectSet();
|
$result = new DataObjectSet();
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
<% if TotalCount == 1 %>
|
<% if TotalCount == 1 %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<td>
|
<td>
|
||||||
<% control pagination %>
|
<% control Pagination %>
|
||||||
<% if active %>
|
<% if active %>
|
||||||
<a href="$link">$number</a>
|
<a href="$link">$number</a>
|
||||||
<% else %>
|
<% else %>
|
||||||
|
Loading…
Reference in New Issue
Block a user