aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/entities.php
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-06-24 20:25:34 -0400
committercash <cash.costello@gmail.com>2011-06-24 20:25:34 -0400
commitefff3471e09a864948feadb989d2ac9f5f2e0fc5 (patch)
treeb11bff8918e3659f612ffe6a4267e4eeb3db0efd /engine/lib/entities.php
parent43e2672f65d12a36d75ad9257a936dc93a2108f3 (diff)
downloadelgg-efff3471e09a864948feadb989d2ac9f5f2e0fc5.tar.gz
elgg-efff3471e09a864948feadb989d2ac9f5f2e0fc5.tar.bz2
Refs #1253 using 'list_type' string instead of boolean 'gallery' for entity listing
Diffstat (limited to 'engine/lib/entities.php')
-rw-r--r--engine/lib/entities.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index cb197b569..10313fc8c 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -1190,10 +1190,10 @@ $time_created_lower = NULL, $time_updated_upper = NULL, $time_updated_lower = NU
* @internal This also provides the views for elgg_view_annotation().
*
* @param array $options Any options from $getter options plus:
- * full_view => BOOL Display full view entities
- * list_type_toggle => BOOL Display gallery / list switch
- * pagination => BOOL Display pagination links
- * gallery => BOOL display in gallery view
+ * full_view => BOOL Display full view entities
+ * list_type => STR 'list' or 'gallery'
+ * list_type_toggle => BOOL Display gallery / list switch
+ * pagination => BOOL Display pagination links
*
* @param mixed $getter The entity getter function to use to fetch the entities
* @param mixed $viewer The function to use to view the entity list.
@@ -1216,7 +1216,6 @@ function elgg_list_entities(array $options = array(), $getter = 'elgg_get_entiti
'full_view' => TRUE,
'list_type_toggle' => FALSE,
'pagination' => TRUE,
- 'gallery' => FALSE,
);
$options = array_merge($defaults, $options);