4 require_once
'Services/Contact/classes/class.ilAbstractMailMemberRoles.php';
29 $this->lng = $DIC[
'lng'];
30 $this->rbacreview = $DIC[
'rbacreview'];
38 return $this->lng->txt(
'mail_sess_roles');
47 $role_ids = $this->rbacreview->getLocalRoles($ref_id);
49 $sorted_role_ids = array();
52 foreach ($role_ids as $role_id) {
55 $mailbox = $this->lng->txt(
'il_sess_participant') .
' <#' . $role_title .
'>';
57 switch (substr($role_title, 0, 12)) {
59 $sorted_role_ids[1][
'default_checked'] =
true;
60 $sorted_role_ids[1][
'role_id'] = $role_id;
61 $sorted_role_ids[1][
'mailbox'] = $mailbox;
62 $sorted_role_ids[1][
'form_option_title'] = $this->lng->txt(
'send_mail_participants');
67 ksort($sorted_role_ids, SORT_NUMERIC);
69 return $sorted_role_ids;
Class ilMailMemberSessionRoles.
__construct()
ilMailMemberSessionRoles constructor.
static _lookupTitle($a_id)
lookup object title
Class ilAbstractMailMemberRoles.