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

Class ilUsersGalleryParticipants. More...

+ Inheritance diagram for ilUsersGalleryParticipants:
+ Collaboration diagram for ilUsersGalleryParticipants:

Public Member Functions

 __construct (ilParticipants $participants)
 
 getGalleryUsers ()
 
 getUserCssClass ()
 

Protected Attributes

 $participants
 
 $users = array()
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilUsersGalleryParticipants::__construct ( ilParticipants  $participants)
Parameters
ilParticipants$participants

Definition at line 23 of file class.ilUsersGalleryParticipants.php.

References $participants, $users, array, ilObjectFactory\getInstanceByObjId(), and ilUtil\sortArray().

24  {
25  $this->participants = $participants;
26  }
+ Here is the call graph for this function:

Member Function Documentation

◆ getGalleryUsers()

ilUsersGalleryParticipants::getGalleryUsers ( )
Returns
array

Implements ilGalleryUsers.

Definition at line 69 of file class.ilUsersGalleryParticipants.php.

70  {
71  $ordered_user = $this->getSortedUsers($this->participants->getAdmins());
72  $ordered_user = array_merge($ordered_user, $this->getSortedUsers($this->participants->getTutors()));
73  $ordered_user = array_merge($ordered_user, $this->getSortedUsers($this->participants->getMembers()));
74  return $ordered_user;
75  }

◆ getUserCssClass()

ilUsersGalleryParticipants::getUserCssClass ( )
Returns
string

Implements ilGalleryUsers.

Definition at line 80 of file class.ilUsersGalleryParticipants.php.

81  {
82  return '';
83  }

Field Documentation

◆ $participants

ilUsersGalleryParticipants::$participants
protected

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

Referenced by __construct().

◆ $users

ilUsersGalleryParticipants::$users = array()
protected

Definition at line 18 of file class.ilUsersGalleryParticipants.php.

Referenced by __construct().


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