ILIAS
Release_4_2_x_branch Revision 61807
|
Public Member Functions | |
sendNotifications () | |
sendMail ($a_user_id, $a_ref_id, array $news) | |
Send news mail for 1 object and 1 user. | |
Public Member Functions inherited from ilMailNotification | |
__construct () | |
Constructor. | |
setType ($a_type) | |
Set notification type. | |
getType () | |
Get notification type. | |
setSender ($a_usr_id) | |
Set sender of mail. | |
getSender () | |
get sender of mail | |
setRecipients ($a_rcp) | |
set mail recipients | |
getRecipients () | |
get array of recipients | |
setRefId ($a_id) | |
Set ref id. | |
getRefId () | |
get reference id | |
getObjId () | |
get object id | |
setObjId ($a_obj_id) | |
set obj id | |
getObjType () | |
Get object type. | |
setAdditionalInformation ($a_info) | |
Additional information for creating notification mails. | |
getAdditionalInformation () | |
Get additional information for generating notification mails. | |
send () | |
Send notifications. | |
sendMail ($a_rcp, $a_type, $a_parse_recipients=true) | |
Send Mail. |
Additional Inherited Members | |
Data Fields inherited from ilMailNotification | |
const | SUBJECT_TITLE_LENGTH = 60 |
Protected Member Functions inherited from ilMailNotification | |
setSubject ($a_subject) | |
Set mail subject. | |
getSubject () | |
Get mail subject. | |
setBody ($a_body) | |
Set mail body. | |
appendBody ($a_body) | |
Append body text. | |
getBody () | |
Get body. | |
initLanguage ($a_usr_id) | |
Init language. | |
initLanguageByIso2Code ($a_code= '') | |
Init language by ISO2 code. | |
setLanguage ($a_language) | |
A language. | |
getLanguage () | |
get language object | |
getLanguageText ($a_keyword) | |
Replace new lines. | |
getObjectTitle ($a_shorten=false) | |
Get object title. | |
initMail () | |
Init mail. | |
getMail () | |
Get mail object. | |
createPermanentLink ($a_params=array(), $a_append= '') | |
Create a permanent link for an object. | |
userToString ($a_usr_id) | |
Utility function. | |
Protected Attributes inherited from ilMailNotification | |
$language = null |
Definition at line 13 of file class.ilCronCourseGroupNotification.php.
ilCronCourseGroupNotification::sendMail | ( | $a_user_id, | |
$a_ref_id, | |||
array | $news | ||
) |
Send news mail for 1 object and 1 user.
int | $a_user_id | |
int | $a_ref_id | |
array | $news |
Definition at line 88 of file class.ilCronCourseGroupNotification.php.
References $lng, ilMailNotification\$obj_id, ilMailNotification\$obj_type, $title, ilMail\_getAutoGeneratedMessageString(), ilUtil\_getHttpPath(), ilMail\_getInstallationSignature(), ilObjUser\_lookupEmail(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), ilMailNotification\appendBody(), ilNewsItem\determineNewsContent(), ilNewsItem\determineNewsTitle(), ilMailNotification\getBody(), ilMailNotification\getLanguage(), ilMailNotification\getLanguageText(), ilMail\getSalutation(), ilMailNotification\getSubject(), ilMailNotification\initLanguage(), ilMailNotification\initMail(), ilMailNotification\setBody(), ilMailNotification\setRecipients(), and ilMailNotification\setSubject().
Referenced by sendNotifications().
ilCronCourseGroupNotification::sendNotifications | ( | ) |
Definition at line 15 of file class.ilCronCourseGroupNotification.php.
References $ilDB, $lng, ilMailNotification\$ref_id, $row, ilMailNotification\$type, ilObject\_lookupType(), and sendMail().