|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilSystemNotification:
Collaboration diagram for ilSystemNotification:Public Member Functions | |
| __construct (protected bool $is_in_wsp=false) | |
| 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... | |
Public Member Functions inherited from ilMailNotification | |
| __construct (protected bool $is_in_wsp=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... | |
Protected Member Functions inherited from ilMailNotification | |
| 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 = [] |
Protected Attributes inherited from ilMailNotification | |
| 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 = [] |
| ilWorkspaceTree | $wsp_tree |
| ilWorkspaceAccessHandler | $wsp_access_handler |
Additional Inherited Members | |
Data Fields inherited from ilMailNotification | |
| final 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::__construct | ( | protected bool | $is_in_wsp = false | ) |
Definition at line 36 of file class.ilSystemNotification.php.
References ILIAS\MetaData\Repository\Validation\Data\__construct().
Here is the call graph for this function:| ilSystemNotification::addAdditionalInfo | ( | string | $a_lang_id, |
| string | $a_value, | ||
| bool | $a_multiline = false, |
||
| bool | $a_lang_direct = false |
||
| ) |
Add additional information.
Definition at line 85 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 148 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 289 of file class.ilSystemNotification.php.
References ilMailNotification\$body, and compose().
Here is the call graph for this function:
|
protected |
Send notification to single recipient.
Definition at line 274 of file class.ilSystemNotification.php.
References compose(), and ilMailNotification\sendMail().
Referenced by sendMailAndReturnRecipients().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 102 of file class.ilSystemNotification.php.
References ilObject\_getAllReferences(), composeAndSendMail(), ilMailNotification\getObjId(), and ilMailNotification\getRefId().
Here is the call graph for this function:| ilSystemNotification::setChangedByUserId | ( | int | $a_id | ) |
Definition at line 77 of file class.ilSystemNotification.php.
| ilSystemNotification::setGotoLangId | ( | string | $a_lang_id | ) |
Definition at line 72 of file class.ilSystemNotification.php.
| ilSystemNotification::setIntroductionDirect | ( | string | $a_text | ) |
Definition at line 57 of file class.ilSystemNotification.php.
| ilSystemNotification::setIntroductionLangId | ( | string | $a_lang_id | ) |
Definition at line 52 of file class.ilSystemNotification.php.
| ilSystemNotification::setReasonLangId | ( | string | $a_lang_id | ) |
Definition at line 67 of file class.ilSystemNotification.php.
| ilSystemNotification::setSubjectDirect | ( | string | $a_text | ) |
Definition at line 47 of file class.ilSystemNotification.php.
| ilSystemNotification::setSubjectLangId | ( | string | $a_lang_id | ) |
Definition at line 42 of file class.ilSystemNotification.php.
| ilSystemNotification::setTaskLangId | ( | string | $a_lang_id | ) |
Definition at line 62 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.