ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
setSubjectLangId (string $a_lang_id) | |
setSubjectDirect (string $a_text) | |
setIntroductionLangId (string $a_lang_id) | |
setIntroductionDirect (string $a_text) | |
setTaskLangId (string $a_lang_id) | |
setReasonLangId (string $a_lang_id) | |
setGotoLangId (string $a_lang_id) | |
setChangedByUserId (int $a_id) | |
addAdditionalInfo (string $a_lang_id, string $a_value, bool $a_multiline=false, bool $a_lang_direct=false) | |
Add additional information. More... | |
sendMailAndReturnRecipients (array $a_user_ids, ?string $a_goto_additional=null, string $a_permission="read") | |
Send notification(s) More... | |
compose (int $a_user_id, ?string $a_goto_additional=null, string $a_permission="read", bool $a_append_signature_direct=false) | |
Compose notification to single recipient. More... | |
composeAndGetMessage (int $a_user_id, ?string $a_goto_additional=null, string $a_permission="read", bool $a_append_signature_direct=false) | |
Compose notification to single recipient. More... | |
![]() | |
__construct (bool $a_is_personal_workspace=false) | |
setType (int $a_type) | |
getType () | |
setSender (int $a_usr_id) | |
getSender () | |
setRecipients (array $a_rcp) | |
getRecipients () | |
setAttachments (array $a_att) | |
getAttachments () | |
setLangModules (array $a_modules) | |
getUserLanguage (int $a_usr_id) | |
setRefId (int $a_id) | |
getRefId () | |
getObjId () | |
setObjId (int $a_obj_id) | |
getObjType () | |
setAdditionalInformation (array $a_info) | |
getAdditionalInformation () | |
sendMail (array $a_rcp, bool $a_parse_recipients=true) | |
getBlockBorder () | |
Protected Member Functions | |
composeAndSendMail (int $a_user_id, ?string $a_goto_additional=null, string $a_permission="read") | |
Send notification to single recipient. More... | |
![]() | |
setSubject (string $a_subject) | |
getSubject () | |
setBody (string $a_body) | |
appendBody (string $a_body) | |
getBody () | |
initLanguage (int $a_usr_id) | |
initLanguageByIso2Code (string $a_code='') | |
setLanguage (ilLanguage $a_language) | |
getLanguage () | |
getLanguageText (string $a_keyword) | |
getObjectTitle (bool $a_shorten=false) | |
initMail () | |
getMail () | |
createPermanentLink (array $a_params=[], string $a_append='') | |
userToString (int $a_usr_id) | |
isRefIdAccessible (int $a_user_id, int $a_ref_id, string $a_permission="read") | |
Protected Attributes | |
string | $subject_lang_id = "" |
string | $subject_direct = "" |
string | $introduction = "" |
string | $introduction_direct = "" |
string | $task = "" |
string | $reason = "" |
array | $additional = [] |
string | $goto_caption = "" |
int | $changed_by = 0 |
array | $all_ref_ids = [] |
![]() | |
int | $type |
int | $sender |
ilMail | $mail = null |
string | $subject = '' |
string | $body = '' |
array | $attachments = [] |
ilLanguage | $language |
array | $lang_modules = [] |
array | $recipients = [] |
int | $ref_id |
int | $obj_id = 0 |
string | $obj_type = '' |
array | $additional_info = [] |
bool | $is_in_wsp |
ilWorkspaceTree | $wsp_tree |
ilWorkspaceAccessHandler | $wsp_access_handler |
Additional Inherited Members | |
![]() | |
const | SUBJECT_TITLE_LENGTH = 60 |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too. If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Wrapper classes for system notifications
Definition at line 23 of file class.ilSystemNotification.php.
ilSystemNotification::addAdditionalInfo | ( | string | $a_lang_id, |
string | $a_value, | ||
bool | $a_multiline = false , |
||
bool | $a_lang_direct = false |
||
) |
Add additional information.
Definition at line 79 of file class.ilSystemNotification.php.
ilSystemNotification::compose | ( | int | $a_user_id, |
?string | $a_goto_additional = null , |
||
string | $a_permission = "read" , |
||
bool | $a_append_signature_direct = false |
||
) |
Compose notification to single recipient.
Definition at line 142 of file class.ilSystemNotification.php.
References ilMailNotification\$ref_id, ilMail\_getAutoGeneratedMessageString(), ilMail\_getInstallationSignature(), ilMailNotification\appendBody(), ilMailNotification\createPermanentLink(), ilMailNotification\getBlockBorder(), ilMailNotification\getLanguage(), ilMailNotification\getLanguageText(), ilMailNotification\getMail(), ilUserUtil\getNamePresentation(), ilMailNotification\getObjectTitle(), ilMailNotification\getObjId(), ilMailNotification\getObjType(), ilMailNotification\getRefId(), ilMail\getSalutation(), ilMailNotification\initLanguage(), ilMailNotification\initMail(), ilMailNotification\isRefIdAccessible(), ILIAS\UI\examples\Symbol\Glyph\Language\language(), ilMailNotification\setBody(), and ilMailNotification\setSubject().
Referenced by composeAndGetMessage(), and composeAndSendMail().
ilSystemNotification::composeAndGetMessage | ( | int | $a_user_id, |
?string | $a_goto_additional = null , |
||
string | $a_permission = "read" , |
||
bool | $a_append_signature_direct = false |
||
) |
Compose notification to single recipient.
Definition at line 284 of file class.ilSystemNotification.php.
References ilMailNotification\$body, and compose().
|
protected |
Send notification to single recipient.
Definition at line 269 of file class.ilSystemNotification.php.
References compose(), and ilMailNotification\sendMail().
Referenced by sendMailAndReturnRecipients().
ilSystemNotification::sendMailAndReturnRecipients | ( | array | $a_user_ids, |
?string | $a_goto_additional = null , |
||
string | $a_permission = "read" |
||
) |
Send notification(s)
array | $a_user_ids | |
?string | $a_goto_additional | |
string | $a_permission |
Definition at line 96 of file class.ilSystemNotification.php.
References ilObject\_getAllReferences(), composeAndSendMail(), ilMailNotification\getObjId(), and ilMailNotification\getRefId().
ilSystemNotification::setChangedByUserId | ( | int | $a_id | ) |
Definition at line 71 of file class.ilSystemNotification.php.
ilSystemNotification::setGotoLangId | ( | string | $a_lang_id | ) |
Definition at line 66 of file class.ilSystemNotification.php.
ilSystemNotification::setIntroductionDirect | ( | string | $a_text | ) |
Definition at line 51 of file class.ilSystemNotification.php.
ilSystemNotification::setIntroductionLangId | ( | string | $a_lang_id | ) |
Definition at line 46 of file class.ilSystemNotification.php.
ilSystemNotification::setReasonLangId | ( | string | $a_lang_id | ) |
Definition at line 61 of file class.ilSystemNotification.php.
ilSystemNotification::setSubjectDirect | ( | string | $a_text | ) |
Definition at line 41 of file class.ilSystemNotification.php.
ilSystemNotification::setSubjectLangId | ( | string | $a_lang_id | ) |
Definition at line 36 of file class.ilSystemNotification.php.
ilSystemNotification::setTaskLangId | ( | string | $a_lang_id | ) |
Definition at line 56 of file class.ilSystemNotification.php.
|
protected |
Definition at line 31 of file class.ilSystemNotification.php.
|
protected |
Definition at line 34 of file class.ilSystemNotification.php.
|
protected |
Definition at line 33 of file class.ilSystemNotification.php.
|
protected |
Definition at line 32 of file class.ilSystemNotification.php.
|
protected |
Definition at line 27 of file class.ilSystemNotification.php.
|
protected |
Definition at line 28 of file class.ilSystemNotification.php.
|
protected |
Definition at line 30 of file class.ilSystemNotification.php.
|
protected |
Definition at line 26 of file class.ilSystemNotification.php.
|
protected |
Definition at line 25 of file class.ilSystemNotification.php.
|
protected |
Definition at line 29 of file class.ilSystemNotification.php.