aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/entities.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/entities.php')
-rw-r--r--engine/lib/entities.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index d3edb2ef3..3ae68a685 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -282,12 +282,13 @@
* Gets an array of entities from a specific relationship type
*
* @param string $relationship Relationship type (eg "friends")
+ * @param true|false $inverse Is this an inverse relationship?
* @param int $limit Number of elements to return
* @param int $offset Indexing offset
* @return array|false An array of entities or false on failure
*/
- function getEntitiesFromRelationship($relationship, $limit = 50, $offset = 0) {
- return get_entities_from_relationship($relationship,$this->getGUID(),false,"","","","time_created desc",$limit,$offset);
+ function getEntitiesFromRelationship($relationship, $inverse = false, $limit = 50, $offset = 0) {
+ return get_entities_from_relationship($relationship,$this->getGUID(),$inverse,"","","","time_created desc",$limit,$offset);
}
/**