aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/annotations.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-03 01:22:46 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-03 01:22:46 +0000
commit40f0b39c4397c21230e10ecc8ecf2549b06bf172 (patch)
tree071b18597469f604e1e6667e37bea3ae281bc520 /engine/lib/annotations.php
parent08b8b7d630b1958e7b363c3794f8b67f667a9128 (diff)
downloadelgg-40f0b39c4397c21230e10ecc8ecf2549b06bf172.tar.gz
elgg-40f0b39c4397c21230e10ecc8ecf2549b06bf172.tar.bz2
Refs #1411: Deprecated list_entities_from_relationship() in favor of elgg_list_entities_from_relationship()
git-svn-id: http://code.elgg.org/elgg/trunk@7213 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/annotations.php')
-rw-r--r--engine/lib/annotations.php17
1 files changed, 5 insertions, 12 deletions
diff --git a/engine/lib/annotations.php b/engine/lib/annotations.php
index 78ad7a1b1..9ed9cf5f6 100644
--- a/engine/lib/annotations.php
+++ b/engine/lib/annotations.php
@@ -324,7 +324,6 @@ $timeupper = 0, $entity_owner_guid = 0) {
return get_data($query, "row_to_elggannotation");
}
-
/**
* Returns entities based upon annotations. Accepts the same values as
* elgg_get_entities_from_metadata() but uses the annotations table.
@@ -489,6 +488,7 @@ $count = false, $timelower = 0, $timeupper = 0) {
* @param boolean $fullview Whether to display the entities in full
* @param boolean $viewtypetoggle Can 'gallery' view can be displayed (default: no)
*
+ * @deprecated 1.7 Use elgg_list_entities_from_annotations()
* @return string Formatted entity list
*/
function list_entities_from_annotations($entity_type = "", $entity_subtype = "", $name = "",
@@ -546,17 +546,10 @@ $viewtypetoggle = false) {
/**
* Returns a viewable list of entities from annotations.
*
- * @param array $options Any elgg_get_entity_from_annotation() options plus:
- *
- * offset => INT Start this many from the first result
- *
- * limit => INT Limit results to this
- *
- * full_view => BOOL Display full view entities
- *
- * view_type_toggle => BOOL Display gallery / list switch
- *
- * pagination => BOOL Display pagination links
+ * @param array $options
+ *
+ * @see elgg_get_entities_from_annotations()
+ * @see elgg_list_entities()
*
* @return str
*/