mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #4630 from marcokernler/paginated-list-total-items
Total Items of a Paginated List
This commit is contained in:
commit
ab5aaf5afc
@ -434,6 +434,13 @@ class PaginatedList extends SS_ListDecorator {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the total number of items in the list
|
||||||
|
*/
|
||||||
|
public function TotalItems() {
|
||||||
|
return $this->getTotalItems();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the request object for this list
|
* Set the request object for this list
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user