aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-01-09 15:53:43 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-01-09 15:53:43 +0000
commitb9fce1b657d0f4101232cf2f3b09391677469459 (patch)
tree0c841959ca01fff5c0629fd76b423f4862cb3b85
parente90692bc720cf4c520ee36c603395cf1e1b80b45 (diff)
downloadelgg-b9fce1b657d0f4101232cf2f3b09391677469459.tar.gz
elgg-b9fce1b657d0f4101232cf2f3b09391677469459.tar.bz2
Minor variable name and comment change.
git-svn-id: https://code.elgg.org/elgg/trunk@2555 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/elgglib.php1
-rw-r--r--engine/lib/entities.php4
2 files changed, 3 insertions, 2 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index d0a28b2ea..de2329f4a 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -592,6 +592,7 @@
* @param int $limit The number of entities to display per page
* @param true|false $fullview Whether or not to display the full view (default: true)
* @param true|false $viewtypetoggle Whether or not to allow users to toggle to gallery view
+ * @param bool $pagination Whether pagination is offered.
* @return string The list of entities
*/
function elgg_view_entity_list($entities, $count, $offset, $limit, $fullview = true, $viewtypetoggle = true, $pagination = true) {
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index 2b4403255..ee5a8fd30 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -1599,13 +1599,13 @@
* @param true|false $pagination Display pagination? Default: true
* @return string A viewable list of entities
*/
- function list_entities($type= "", $subtype = "", $owner_guid = 0, $limit = 10, $fullview = true, $viewtypetoggle = false, $navigation = true) {
+ function list_entities($type= "", $subtype = "", $owner_guid = 0, $limit = 10, $fullview = true, $viewtypetoggle = false, $pagination = true) {
$offset = (int) get_input('offset');
$count = get_entities($type, $subtype, $owner_guid, "", $limit, $offset, true);
$entities = get_entities($type, $subtype, $owner_guid, "", $limit, $offset);
- return elgg_view_entity_list($entities, $count, $offset, $limit, $fullview, $viewtypetoggle, $navigation);
+ return elgg_view_entity_list($entities, $count, $offset, $limit, $fullview, $viewtypetoggle, $pagination);
}