3 require_once
'Services/User/classes/class.ilAbstractGalleryUsers.php';
4 require_once
'Services/Contact/BuddySystem/classes/class.ilBuddyList.php';
21 return array($requested_for_me, $linked, $requested_by_me + $me_ignored, $ignored);
35 $ordered_data =
array();
36 foreach($relations as $sorted_relation)
39 foreach($sorted_relation as $key => $users)
48 if(!$user->getActive())
53 if($ignore_myself && $user->getId() == $ilUser->getId())
58 $user_data[$user->getId()] =
array(
59 'id' => $user->getId(),
63 $user_data = $this->collectUserDetails($user_data);
64 $ordered_data = array_merge($ordered_data,
ilUtil::sortArray($user_data,
'sort',
'asc'));
74 return 'ilBuddySystemRemoveWhenUnlinked';
static getInstanceByGlobalUser()
static sortArray($array, $a_array_sortby, $a_array_sortorder=0, $a_numeric=false, $a_keep_keys=false)
sortArray
static getInstanceByObjId($a_obj_id, $stop_on_error=true)
get an instance of an Ilias object by object id
Create styles array
The data for the language used.
Class ilAbstractGalleryUsers.
Class ilUsersGalleryUsers.