38 $this->type = $this->objParticipants->getType();
39 $this->lng = $DIC[
'lng'];
49 $members = $this->objParticipants->getMembers();
50 $admins = $this->objParticipants->getAdmins();
52 $participants[
'il_' . $this->type .
'_member'] = $members;
53 $participants[
'il_' . $this->type .
'_admin'] = $admins;
54 if ($this->type ==
'crs') {
55 $tutors = $this->objParticipants->getTutors();
56 $participants[
'il_crs_tutor'] = $tutors;
59 foreach ($participants as $role => $users) {
60 foreach ($users as $user_id) {
66 $publicName = $name[
'lastname'] .
', ' . $name[
'firstname'];
69 $this->
data[$user_id][
'user_id'] = $user_id;
70 $this->
data[$user_id][
'login'] = $login;
71 $this->
data[$user_id][
'name'] = $publicName;
72 $this->
data[$user_id][
'role'] = $this->lng->txt($role);
static _lookupLogin($a_user_id)
lookup login
static _lookupName($a_user_id)
lookup user name
__construct($objParticipants)
Create styles array
The data for the language used.
static _lookupPref($a_usr_id, $a_keyword)
Class ilMailMemberSearchDataProvider.