ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
ilUsersGalleryContacts Class Reference

Class ilUsersGalleryUsers. More...

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

Public Member Functions

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

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.

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()

References ilBuddyList\getInstanceByGlobalUser().

+ Here is the call graph for this function:

◆ hasRemovableUsers()

ilUsersGalleryContacts::hasRemovableUsers ( )

Returns
boolean

Reimplemented from ilAbstractUsersGalleryCollectionProvider.

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: