diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-03 23:13:36 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-03 23:13:36 +0000 |
commit | e6dedda9508150b25ea8d2bccfa8af17ebfbffec (patch) | |
tree | 851917cf434bfa03c1cebe5a5cf15b123a2632bc /engine/lib/entities.php | |
parent | 08a56c121cca9b6df1d027d203046c9051f9ae35 (diff) | |
download | elgg-e6dedda9508150b25ea8d2bccfa8af17ebfbffec.tar.gz elgg-e6dedda9508150b25ea8d2bccfa8af17ebfbffec.tar.bz2 |
Moved list_entities_groups to groups.php and deprecated in favor of elgg_list_entities
git-svn-id: http://code.elgg.org/elgg/trunk@7232 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/entities.php')
-rw-r--r-- | engine/lib/entities.php | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php index 36e9eb115..84dd7820e 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -1398,38 +1398,6 @@ $viewtypetoggle = false, $pagination = true) { } /** - * Lists entities that belong to a group. - * - * @warning This function is redundant and will be deprecated in 1.8. - * The preferred method of listing group entities is by setting the - * container guid option in {@link elgg_list_entities()}. - * - * @param string $subtype The arbitrary subtype of the entity - * @param int $owner_guid The GUID of the owning user - * @param int $container_guid The GUID of the containing group - * @param int $limit The number of entities to display per page (default: 10) - * @param bool $fullview Whether or not to display the full view (default: true) - * @param bool $viewtypetoggle Whether or not to allow gallery view (default: true) - * @param bool $pagination Whether to display pagination (default: true) - * - * @return string List of parsed entities - * - * @see elgg_list_entities() - */ -function list_entities_groups($subtype = "", $owner_guid = 0, $container_guid = 0, -$limit = 10, $fullview = true, $viewtypetoggle = true, $pagination = true) { - - $offset = (int) get_input('offset'); - $count = get_objects_in_group($container_guid, $subtype, $owner_guid, - 0, "", $limit, $offset, true); - $entities = get_objects_in_group($container_guid, $subtype, $owner_guid, - 0, "", $limit, $offset); - - return elgg_view_entity_list($entities, $count, $offset, $limit, - $fullview, $viewtypetoggle, $pagination); -} - -/** * Returns a list of months in which entities were updated or created. * * @tip Use this to generate a list of archives by month for when entities were added or updated. |