ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilUsersGalleryContacts Class Reference

Class ilUsersGalleryUsers. More...

+ Inheritance diagram for ilUsersGalleryContacts:
+ Collaboration diagram for ilUsersGalleryContacts:

Public Member Functions

 hasRemovableUsers ()
 
Returns
boolean
More...
 
- Public Member Functions inherited from ilAbstractUsersGalleryCollectionProvider
 hasRemovableUsers ()
 
Returns
boolean
More...
 
- Public Member Functions inherited from ilUsersGalleryCollectionProvider
 getGroupedCollections ()
 

Protected Member Functions

 getRelationSequence ()
 
- Protected Member Functions inherited from ilAbstractUsersGalleryCollectionProvider
 getPopulatedGroup (array $users)
 

Detailed Description

Class ilUsersGalleryUsers.

Definition at line 9 of file class.ilUsersGalleryContacts.php.

Member Function Documentation

◆ getRelationSequence()

ilUsersGalleryContacts::getRelationSequence ( )
protected
Returns
array

Definition at line 14 of file class.ilUsersGalleryContacts.php.

References $DIC, $user, $users, ilUsersGalleryCollectionProvider\getGroupedCollections(), ilBuddyList\getInstanceByGlobalUser(), ilObjectFactory\getInstanceByObjId(), and ilAbstractUsersGalleryCollectionProvider\getPopulatedGroup().

15  {
16  $requested_for_me = ilBuddyList::getInstanceByGlobalUser()->getRequestRelationsForOwner()->toArray();
17  $linked = ilBuddyList::getInstanceByGlobalUser()->getLinkedRelations()->toArray();
18  $requested_by_me = ilBuddyList::getInstanceByGlobalUser()->getRequestRelationsByOwner()->toArray();
19  $me_ignored = ilBuddyList::getInstanceByGlobalUser()->getIgnoredRelationsByOwner()->toArray();
20  $ignored = ilBuddyList::getInstanceByGlobalUser()->getIgnoredRelationsForOwner()->toArray();
21 
22  return [$requested_for_me, $linked, $requested_by_me + $me_ignored, $ignored];
23  }
static getInstanceByGlobalUser()
+ Here is the call graph for this function:

◆ hasRemovableUsers()

ilUsersGalleryContacts::hasRemovableUsers ( )

Returns
boolean

Implements ilUsersGalleryCollectionProvider.

Definition at line 64 of file class.ilUsersGalleryContacts.php.

65  {
66  return true;
67  }

The documentation for this class was generated from the following file: