|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Wrapper classes for system notifications. More...
Inheritance diagram for ilSystemNotification:
Collaboration diagram for ilSystemNotification:Public Member Functions | |
| setSubjectLangId ($a_lang_id) | |
| Set subject lang id. More... | |
| setIntroductionLangId ($a_lang_id) | |
| Set introduction lang id. More... | |
| setIntroductionDirect ($a_text) | |
| Set introduction text. More... | |
| setTaskLangId ($a_lang_id) | |
| Set task lang id. More... | |
| setReasonLangId ($a_lang_id) | |
| Set reason lang id. More... | |
| setGotoLangId ($a_lang_id) | |
| Set goto lang id. More... | |
| setChangedByUserId ($a_id) | |
| Set changed by user id. More... | |
| addAdditionalInfo ($a_lang_id, $a_value, $a_multiline=false, $a_lang_direct=false) | |
| Add additional information. More... | |
| sendMail (array $a_user_ids, $a_goto_additional=null, $a_permission="read") | |
| Send notification(s) More... | |
| compose ($a_user_id, $a_goto_additional=null, $a_permission="read", $a_append_signature_direct=false) | |
| Compose notification to single recipient. More... | |
| composeAndGetMessage ($a_user_id, $a_goto_additional=null, $a_permission="read", $a_append_signature_direct=false) | |
| Compose notification to single recipient. More... | |
Public Member Functions inherited from ilMailNotification | |
| __construct ($a_is_personal_workspace=false) | |
| setType ($a_type) | |
| Set notification type. More... | |
| getType () | |
| Get notification type. More... | |
| setSender ($a_usr_id) | |
| Set sender of mail. More... | |
| getSender () | |
| get sender of mail More... | |
| setRecipients (array $a_rcp) | |
| getRecipients () | |
| get array of recipients More... | |
| setAttachments ($a_att) | |
| Set attachments More... | |
| getAttachments () | |
| Get attachments More... | |
| setLangModules (array $a_modules) | |
| Set lang modules. More... | |
| getUserLanguage ($a_usr_id) | |
| Get user language. More... | |
| setRefId ($a_id) | |
| getRefId () | |
| getObjId () | |
| setObjId ($a_obj_id) | |
| getObjType () | |
| Get object type. More... | |
| setAdditionalInformation (array $a_info) | |
| Additional information for creating notification mails. More... | |
| getAdditionalInformation () | |
| sendMail (array $a_rcp, $a_type, $a_parse_recipients=true) | |
| getBlockBorder () | |
| Get (ascii) block border. More... | |
Protected Member Functions | |
| composeAndSendMail ($a_user_id, $a_goto_additional=null, $a_permission="read") | |
| Send notification to single recipient. More... | |
Protected Member Functions inherited from ilMailNotification | |
| setSubject ($a_subject) | |
| getSubject () | |
| setBody ($a_body) | |
| appendBody ($a_body) | |
| Append body text. More... | |
| getBody () | |
| initLanguage ($a_usr_id) | |
| Init language. More... | |
| initLanguageByIso2Code ($a_code='') | |
| Init language by ISO2 code. More... | |
| setLanguage ($a_language) | |
| getLanguage () | |
| getLanguageText ($a_keyword) | |
| getObjectTitle ($a_shorten=false) | |
| initMail () | |
| getMail () | |
| createPermanentLink ($a_params=array(), $a_append='') | |
| userToString ($a_usr_id) | |
| isRefIdAccessible ($a_user_id, $a_ref_id, $a_permission="read") | |
| Check if ref id is accessible for user. More... | |
Protected Attributes | |
| $subject_lang_id | |
| $introduction | |
| $introduction_direct | |
| $task | |
| $reason | |
| $additional | |
| $goto_caption | |
| $changed_by | |
| $all_ref_ids | |
Protected Attributes inherited from ilMailNotification | |
| $type = null | |
| $sender = null | |
| $mail = null | |
| $subject = '' | |
| $body = '' | |
| $attachments = array() | |
| $language = null | |
| $lang_modules = array() | |
| $recipients = array() | |
| $ref_id = null | |
| $obj_id = null | |
| $obj_type = null | |
| $additional_info = array() | |
| $is_in_wsp | |
| $wsp_tree | |
| $wsp_access_handler | |
Additional Inherited Members | |
Data Fields inherited from ilMailNotification | |
| const | SUBJECT_TITLE_LENGTH = 60 |
Wrapper classes for system notifications.
Definition at line 16 of file class.ilSystemNotification.php.
| ilSystemNotification::addAdditionalInfo | ( | $a_lang_id, | |
| $a_value, | |||
$a_multiline = false, |
|||
$a_lang_direct = false |
|||
| ) |
Add additional information.
| string | $a_lang_id | |
| mixed | $a_value | |
| bool | $a_multiline | |
| bool | $a_lang_direct |
Definition at line 108 of file class.ilSystemNotification.php.
| ilSystemNotification::compose | ( | $a_user_id, | |
$a_goto_additional = null, |
|||
$a_permission = "read", |
|||
$a_append_signature_direct = false |
|||
| ) |
Compose notification to single recipient.
| mixed | $a_rcp | |
| string | $a_goto_additional | |
| string | $a_permission | |
| bool | $a_append_signature_direct |
Definition at line 183 of file class.ilSystemNotification.php.
References ilMailNotification\$ref_id, ilMail\_getAutoGeneratedMessageString(), ilMail\_getInstallationSignature(), ilMailNotification\appendBody(), ilMailNotification\createPermanentLink(), ilMailNotification\getLanguage(), ilMailNotification\getLanguageText(), ilMailNotification\getMail(), ilUserUtil\getNamePresentation(), ilMailNotification\getObjectTitle(), ilMailNotification\getObjId(), ilMailNotification\getObjType(), ilMailNotification\getRefId(), ilMail\getSalutation(), ilMailNotification\initLanguage(), ilMailNotification\initMail(), ilMailNotification\isRefIdAccessible(), 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 | ( | $a_user_id, | |
$a_goto_additional = null, |
|||
$a_permission = "read", |
|||
$a_append_signature_direct = false |
|||
| ) |
Compose notification to single recipient.
| mixed | $a_user_id | |
| string | $a_goto_additional | |
| string | $a_permission | |
| bool | $a_append_signature_direct |
Definition at line 349 of file class.ilSystemNotification.php.
References ilMailNotification\$body, and compose().
Here is the call graph for this function:
|
protected |
Send notification to single recipient.
| mixed | $a_rcp | |
| string | $a_goto_additional | |
| string | $a_permission |
Definition at line 330 of file class.ilSystemNotification.php.
References compose().
Referenced by sendMail().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSystemNotification::sendMail | ( | array | $a_user_ids, |
$a_goto_additional = null, |
|||
$a_permission = "read" |
|||
| ) |
Send notification(s)
| array | $a_user_ids | |
| string | $a_goto_additional | |
| string | $a_permission |
Reimplemented from ilMailNotification.
Definition at line 121 of file class.ilSystemNotification.php.
References ilObject\_getAllReferences(), composeAndSendMail(), ilMailNotification\getObjId(), and ilMailNotification\getRefId().
Here is the call graph for this function:| ilSystemNotification::setChangedByUserId | ( | $a_id | ) |
Set changed by user id.
| int | $a_id |
Definition at line 93 of file class.ilSystemNotification.php.
| ilSystemNotification::setGotoLangId | ( | $a_lang_id | ) |
Set goto lang id.
| string | $a_lang_id |
Definition at line 83 of file class.ilSystemNotification.php.
| ilSystemNotification::setIntroductionDirect | ( | $a_text | ) |
Set introduction text.
| string | $a_text |
Definition at line 53 of file class.ilSystemNotification.php.
| ilSystemNotification::setIntroductionLangId | ( | $a_lang_id | ) |
Set introduction lang id.
| string | $a_lang_id |
Definition at line 43 of file class.ilSystemNotification.php.
| ilSystemNotification::setReasonLangId | ( | $a_lang_id | ) |
Set reason lang id.
| string | $a_lang_id |
Definition at line 73 of file class.ilSystemNotification.php.
| ilSystemNotification::setSubjectLangId | ( | $a_lang_id | ) |
Set subject lang id.
| string | $a_lang_id |
Definition at line 33 of file class.ilSystemNotification.php.
| ilSystemNotification::setTaskLangId | ( | $a_lang_id | ) |
Set task lang id.
| string | $a_lang_id |
Definition at line 63 of file class.ilSystemNotification.php.
|
protected |
Definition at line 23 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 24 of file class.ilSystemNotification.php.
|
protected |
Definition at line 19 of file class.ilSystemNotification.php.
|
protected |
Definition at line 20 of file class.ilSystemNotification.php.
|
protected |
Definition at line 22 of file class.ilSystemNotification.php.
|
protected |
Definition at line 18 of file class.ilSystemNotification.php.
|
protected |
Definition at line 21 of file class.ilSystemNotification.php.