diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-01 01:23:43 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-01 01:23:43 +0000 |
commit | 1f2022cc5393ee61cbf2361f51eee39d43727f96 (patch) | |
tree | 6ddbe3c31ef583f4d623d95dff85f65eb4cbf7e8 /engine | |
parent | ad6e04d0bbf812dfe048f1fdbde7aa5c787b6d1a (diff) | |
download | elgg-1f2022cc5393ee61cbf2361f51eee39d43727f96.tar.gz elgg-1f2022cc5393ee61cbf2361f51eee39d43727f96.tar.bz2 |
Fixes #2430 adds get_entities_from_access_collection() into trunk
git-svn-id: http://code.elgg.org/elgg/trunk@7486 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/access.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/engine/lib/access.php b/engine/lib/access.php index f557c939e..b87d150c0 100644 --- a/engine/lib/access.php +++ b/engine/lib/access.php @@ -809,6 +809,18 @@ function get_entities_from_access_id($collection_id, $entity_type = "", $entity_ } /** + * @deprecated 1.7 + */ +function get_entities_from_access_collection($collection_id, $entity_type = "", $entity_subtype = "", + $owner_guid = 0, $limit = 10, $offset = 0, $order_by = "", $site_guid = 0, $count = false) { + + elgg_deprecated_notice('get_entities_from_access_collection() was deprecated by elgg_get_entities()', 1.7); + + return get_entities_from_access_id($collection_id, $entity_type, $entity_subtype, + $owner_guid, $limit, $offset, $order_by, $site_guid, $count); +} + +/** * Return entities based upon access id. * * @param array $options Any options accepted by {@link elgg_get_entities()} and: |