ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct (ilForumNotificationMailData $provider, \ilLogger $logger) | |
ilForumMailNotification constructor. More... | |
sendMail (array $a_rcp, $a_type, $a_parse_recipients=true) | |
send () | |
isCronjob () | |
setIsCronjob ($is_cronjob) | |
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... | |
Data Fields | |
const | TYPE_THREAD_DELETED = 54 |
const | TYPE_POST_NEW = 60 |
const | TYPE_POST_ACTIVATION = 61 |
const | TYPE_POST_UPDATED = 62 |
const | TYPE_POST_CENSORED = 63 |
const | TYPE_POST_DELETED = 64 |
const | TYPE_POST_ANSWERED = 65 |
const | TYPE_POST_UNCENSORED = 66 |
const | PERMANENT_LINK_POST = 'PL_Post' |
const | PERMANENT_LINK_FORUM = 'PL_Forum' |
Data Fields inherited from ilMailNotification | |
const | SUBJECT_TITLE_LENGTH = 60 |
Protected Member Functions | |
initMail () | |
setSubject ($a_subject) | |
appendAttachments () | |
initLanguage ($a_usr_id) | |
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 | |
$is_cronjob = false | |
$provider | |
$logger | |
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 | |
Private Member Functions | |
getPermanentLink ($type=self::PERMANENT_LINK_POST) | |
getSecurePostMessage () | |
Definition at line 11 of file class.ilForumMailNotification.php.
ilForumMailNotification::__construct | ( | ilForumNotificationMailData | $provider, |
\ilLogger | $logger | ||
) |
ilForumMailNotification constructor.
ilForumNotificationMailData | $provider | |
ilLogger | $logger |
Definition at line 46 of file class.ilForumMailNotification.php.
References $logger, and $provider.
|
protected |
Definition at line 86 of file class.ilForumMailNotification.php.
References ilMailNotification\appendBody(), ilMailNotification\getLanguageText(), and ilMailNotification\setAttachments().
Referenced by send().
|
private |
string | $type |
Definition at line 550 of file class.ilForumMailNotification.php.
References $DIC, ilMailNotification\$type, ilUtil\_getHttpPath(), ilMailNotification\getLanguageText(), and isCronjob().
Referenced by send().
|
private |
Definition at line 603 of file class.ilForumMailNotification.php.
Referenced by send().
|
protected |
int | $a_usr_id |
Definition at line 524 of file class.ilForumMailNotification.php.
Referenced by send().
|
protected |
Definition at line 56 of file class.ilForumMailNotification.php.
References ilMailNotification\$mail.
Referenced by send().
ilForumMailNotification::isCronjob | ( | ) |
Definition at line 533 of file class.ilForumMailNotification.php.
References $is_cronjob.
Referenced by getPermanentLink().
ilForumMailNotification::send | ( | ) |
Definition at line 101 of file class.ilForumMailNotification.php.
References $DIC, $ilSetting, $lng, ilMail\_getInstallationSignature(), appendAttachments(), ilMailNotification\appendBody(), array, ilDatePresentation\formatDate(), ilMailNotification\getLanguage(), ilMailNotification\getLanguageText(), getPermanentLink(), ilMailNotification\getRecipients(), ilMail\getSalutation(), getSecurePostMessage(), ilMailNotification\getType(), IL_CAL_DATETIME, initLanguage(), initMail(), sendMail(), ilMailNotification\setBody(), ilDatePresentation\setLanguage(), setSubject(), ilDatePresentation\setUseRelativeDates(), and ilDatePresentation\useRelativeDates().
ilForumMailNotification::sendMail | ( | array | $a_rcp, |
$a_type, | |||
$a_parse_recipients = true |
|||
) |
Definition at line 66 of file class.ilForumMailNotification.php.
References $a_type.
Referenced by send().
ilForumMailNotification::setIsCronjob | ( | $is_cronjob | ) |
boolean | $is_cronjob |
Definition at line 541 of file class.ilForumMailNotification.php.
References $is_cronjob.
|
protected |
Definition at line 76 of file class.ilForumMailNotification.php.
Referenced by send().
|
protected |
Definition at line 29 of file class.ilForumMailNotification.php.
Referenced by isCronjob(), and setIsCronjob().
|
protected |
Definition at line 39 of file class.ilForumMailNotification.php.
Referenced by __construct().
|
protected |
Definition at line 34 of file class.ilForumMailNotification.php.
Referenced by __construct().
const ilForumMailNotification::PERMANENT_LINK_FORUM = 'PL_Forum' |
Definition at line 24 of file class.ilForumMailNotification.php.
const ilForumMailNotification::PERMANENT_LINK_POST = 'PL_Post' |
Definition at line 23 of file class.ilForumMailNotification.php.
const ilForumMailNotification::TYPE_POST_ACTIVATION = 61 |
Definition at line 16 of file class.ilForumMailNotification.php.
Referenced by ilForumAppEventListener\delegateNotification().
const ilForumMailNotification::TYPE_POST_ANSWERED = 65 |
Definition at line 20 of file class.ilForumMailNotification.php.
Referenced by ilForumAppEventListener\delegateNotification().
const ilForumMailNotification::TYPE_POST_CENSORED = 63 |
Definition at line 18 of file class.ilForumMailNotification.php.
Referenced by ilForumCronNotification\run().
const ilForumMailNotification::TYPE_POST_DELETED = 64 |
Definition at line 19 of file class.ilForumMailNotification.php.
Referenced by ilForumCronNotification\run(), and ilForumCronNotification\sendCronForumNotification().
const ilForumMailNotification::TYPE_POST_NEW = 60 |
Definition at line 15 of file class.ilForumMailNotification.php.
Referenced by ilForumCronNotification\run().
const ilForumMailNotification::TYPE_POST_UNCENSORED = 66 |
Definition at line 21 of file class.ilForumMailNotification.php.
Referenced by ilForumCronNotification\run().
const ilForumMailNotification::TYPE_POST_UPDATED = 62 |
Definition at line 17 of file class.ilForumMailNotification.php.
Referenced by ilForumCronNotification\run().
const ilForumMailNotification::TYPE_THREAD_DELETED = 54 |
Definition at line 13 of file class.ilForumMailNotification.php.
Referenced by ilForumCronNotification\run(), and ilForumCronNotification\sendCronForumNotification().