ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
__construct () | |
setAssignmentId ($a_val) | |
Set assignment id. | |
getAssignmentId () | |
Get assignment id. | |
send () | |
Send notifications. | |
Public Member Functions inherited from ilMailNotification | |
__construct ($a_is_personal_workspace=false) | |
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 | |
setAttachments ($a_att) | |
Set attachments. | |
getAttachments () | |
Get attachments. | |
setLangModules (array $a_modules) | |
Set lang modules. | |
getUserLanguage ($a_usr_id) | |
Get user language. | |
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. | |
sendMail ($a_rcp, $a_type, $a_parse_recipients=true) | |
Send Mail. | |
getBlockBorder () | |
Get (ascii) block border. |
Data Fields | |
const | TYPE_FEEDBACK_FILE_ADDED = 20 |
const | TYPE_SUBMISSION_UPLOAD = 30 |
const | TYPE_FEEDBACK_TEXT_ADDED = 40 |
Data Fields inherited from ilMailNotification | |
const | SUBJECT_TITLE_LENGTH = 60 |
Protected Member Functions | |
initLanguage ($a_usr_id) | |
Add language module exc. | |
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. | |
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. | |
isRefIdAccessible ($a_user_id, $a_ref_id, $a_permission="read") | |
Check if ref id is accessible for user. |
Additional Inherited Members | |
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 |
Definition at line 12 of file class.ilExerciseMailNotification.php.
ilExerciseMailNotification::__construct | ( | ) |
Definition at line 21 of file class.ilExerciseMailNotification.php.
ilExerciseMailNotification::getAssignmentId | ( | ) |
Get assignment id.
Definition at line 41 of file class.ilExerciseMailNotification.php.
Referenced by send().
|
protected |
Add language module exc.
object | $a_usr_id |
Reimplemented from ilMailNotification.
Definition at line 163 of file class.ilExerciseMailNotification.php.
References ilMailNotification\getLanguage().
Referenced by send().
ilExerciseMailNotification::send | ( | ) |
Send notifications.
Definition at line 50 of file class.ilExerciseMailNotification.php.
References $ilUser, ilMailNotification\appendBody(), ilMailNotification\createPermanentLink(), getAssignmentId(), ilMailNotification\getLanguage(), ilMailNotification\getLanguageText(), ilMailNotification\getMail(), ilMailNotification\getObjectTitle(), ilMailNotification\getRecipients(), ilMail\getSalutation(), ilMailNotification\getType(), initLanguage(), ilMailNotification\initMail(), ilExAssignment\lookupTitle(), ilMailNotification\sendMail(), ilMailNotification\setBody(), and ilMailNotification\setSubject().
ilExerciseMailNotification::setAssignmentId | ( | $a_val | ) |
Set assignment id.
int | assignment id |
Definition at line 31 of file class.ilExerciseMailNotification.php.
const ilExerciseMailNotification::TYPE_FEEDBACK_FILE_ADDED = 20 |
Definition at line 14 of file class.ilExerciseMailNotification.php.
Referenced by ilObjExercise\sendFeedbackFileNotification().
const ilExerciseMailNotification::TYPE_FEEDBACK_TEXT_ADDED = 40 |
Definition at line 16 of file class.ilExerciseMailNotification.php.
Referenced by ilObjExercise\sendFeedbackFileNotification().
const ilExerciseMailNotification::TYPE_SUBMISSION_UPLOAD = 30 |
Definition at line 15 of file class.ilExerciseMailNotification.php.
Referenced by ilObjExerciseGUI\sendNotifications().