aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/access.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-08-05 17:04:43 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-08-05 17:04:43 +0000
commit44c6025cc9a1536a772bf74af8cc9c07b0efc8b6 (patch)
tree1de54298d7ba4c09c65a2a80877654b6f2bfa1ac /engine/lib/access.php
parente238cacd1f10294d225ce21d9ebe2ce047836cb6 (diff)
downloadelgg-44c6025cc9a1536a772bf74af8cc9c07b0efc8b6.tar.gz
elgg-44c6025cc9a1536a772bf74af8cc9c07b0efc8b6.tar.bz2
Added documentation to list_entities_from_access_collection();
git-svn-id: https://code.elgg.org/elgg/trunk@3421 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/access.php')
-rw-r--r--engine/lib/access.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/engine/lib/access.php b/engine/lib/access.php
index 7120100bb..9765b2d58 100644
--- a/engine/lib/access.php
+++ b/engine/lib/access.php
@@ -625,6 +625,19 @@ END;
return false;
}
+ /**
+ * Lists entities from an access collection
+ *
+ * @param $collection_id
+ * @param $entity_type
+ * @param $entity_subtype
+ * @param $owner_guid
+ * @param $limit
+ * @param $fullview
+ * @param $viewtypetoggle
+ * @param $pagination
+ * @return str
+ */
function list_entities_from_access_collection($collection_id, $entity_type = "", $entity_subtype = "", $owner_guid = 0, $limit = 10, $fullview = true, $viewtypetoggle = true, $pagination = true) {
$offset = (int) get_input('offset');
$limit = (int) $limit;