ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilUsersGalleryUsers Class Reference

Class ilUsersGalleryUsers. More...

+ Inheritance diagram for ilUsersGalleryUsers:
+ Collaboration diagram for ilUsersGalleryUsers:

Public Member Functions

 getUserCssClass ()
 
- Public Member Functions inherited from ilGalleryUsers
 getGalleryUsers ()
 

Protected Member Functions

 getSortedRelations ()
 

Detailed Description

Class ilUsersGalleryUsers.

Definition at line 8 of file class.ilUsersGalleryUsers.php.

Member Function Documentation

◆ getSortedRelations()

ilUsersGalleryUsers::getSortedRelations ( )
protected
Returns
array

Definition at line 13 of file class.ilUsersGalleryUsers.php.

References $ilUser, array, ilGalleryUsers\getGalleryUsers(), ilBuddyList\getInstanceByGlobalUser(), ilObjectFactory\getInstanceByObjId(), and ilUtil\sortArray().

14  {
15  $requested_for_me = ilBuddyList::getInstanceByGlobalUser()->getRequestRelationsForOwner()->toArray();
16  $linked = ilBuddyList::getInstanceByGlobalUser()->getLinkedRelations()->toArray();
17  $requested_by_me = ilBuddyList::getInstanceByGlobalUser()->getRequestRelationsByOwner()->toArray();
18  $me_ignored = ilBuddyList::getInstanceByGlobalUser()->getIgnoredRelationsByOwner()->toArray();
19  $ignored = ilBuddyList::getInstanceByGlobalUser()->getIgnoredRelationsForOwner()->toArray();
20 
21  return array($requested_for_me, $linked, $requested_by_me + $me_ignored, $ignored);
22  }
static getInstanceByGlobalUser()
Create styles array
The data for the language used.
+ Here is the call graph for this function:

◆ getUserCssClass()

ilUsersGalleryUsers::getUserCssClass ( )
Returns
string

Implements ilGalleryUsers.

Definition at line 72 of file class.ilUsersGalleryUsers.php.

73  {
74  return 'ilBuddySystemRemoveWhenUnlinked';
75  }

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