isFriend()
Determines whether or not the current user is a friend of this entity.
getObjects(array $options=[])
Get an array of owned by this entity.
removeFriend($friend_guid)
Removes a user as a friend.
addFriend($friend_guid)
Adds a user as a friend.
$user_guid
Validate a user.
isFriendsWith($user_guid)
Determines whether or not this entity is friends with a particular entity.
getFriendsObjects(array $options=[])
Get an array of owned by this entity's friends.
getFriends(array $options=[])
Gets this entity's friends.
if(elgg_get_config('allow_registration')==false) $friend_guid
isFriendOf($user_guid)
Determines whether or not a foreign entity has made this one a friend.
getFriendsOf(array $options=[])
Gets users who have made this entity a friend.