◆ __construct()
ilMailMemberLearningSequenceRoles::__construct |
( |
| ) |
|
◆ getMailRoles()
ilMailMemberLearningSequenceRoles::getMailRoles |
( |
|
$ref_id | ) |
|
- Parameters
-
- Returns
- array sorted_roles
Definition at line 40 of file class.ilMailMemberLearningSequenceRoles.php.
References ilObject\_lookupTitle(), and ilAbstractMailMemberRoles\getMailboxRoleAddress().
42 $role_ids = $this->rbacreview->getLocalRoles($ref_id);
44 $sorted_role_ids = array();
47 foreach ($role_ids as $role_id) {
51 switch (substr($role_title, 0, 8)) {
53 $sorted_role_ids[1][
'role_id'] = $role_id;
54 $sorted_role_ids[1][
'mailbox'] = $mailbox;
55 $sorted_role_ids[1][
'form_option_title'] = $this->lng->txt(
'send_mail_admins');
59 $sorted_role_ids[0][
'role_id'] = $role_id;
60 $sorted_role_ids[0][
'mailbox'] = $mailbox;
61 $sorted_role_ids[0][
'form_option_title'] = $this->lng->txt(
'send_mail_members');
65 $sorted_role_ids[$counter][
'role_id'] = $role_id;
66 $sorted_role_ids[$counter][
'mailbox'] = $mailbox;
67 $sorted_role_ids[$counter][
'form_option_title'] = $role_title;
73 ksort($sorted_role_ids, SORT_NUMERIC);
75 return $sorted_role_ids;
getMailboxRoleAddress($role_id)
static _lookupTitle($a_id)
lookup object title
◆ getRadioOptionTitle()
ilMailMemberLearningSequenceRoles::getRadioOptionTitle |
( |
| ) |
|
◆ $lng
ilMailMemberLearningSequenceRoles::$lng |
|
protected |
◆ $rbacreview
ilMailMemberLearningSequenceRoles::$rbacreview |
|
protected |
The documentation for this class was generated from the following file: