|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilExerciseMailNotification:
Collaboration diagram for ilExerciseMailNotification:Public Member Functions | |
| __construct () | |
| setAssignmentId (int $a_val) | |
| getAssignmentId () | |
| setPeerId (int $a_val) | |
| getPeerId () | |
| setAdditionalText (string $a_val) | |
| getAdditionalText () | |
| send () | |
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 () | |
Data Fields | |
| const | TYPE_FEEDBACK_FILE_ADDED = 20 |
| const | TYPE_SUBMISSION_UPLOAD = 30 |
| const | TYPE_FEEDBACK_TEXT_ADDED = 40 |
| const | TYPE_GRADING_DONE = 70 |
| const | TYPE_MESSAGE_FROM_PF_GIVER = 50 |
| const | TYPE_MESSAGE_FROM_PF_RECIPIENT = 60 |
| const | TYPE_DEADLINE_REQUESTED = 70 |
| const | TYPE_IDL_DEADLINE_SET = 80 |
Data Fields inherited from ilMailNotification | |
| final const int | SUBJECT_TITLE_LENGTH = 60 |
Protected Member Functions | |
| addOpenSubmission () | |
| sendExerciseNotification (int $rcp, string $subject, string $text, string $link="") | |
| initLanguage (int $a_usr_id) | |
| Add language module exc. 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 | |
| ILIAS Exercise InternalDomainService | $domain |
| string | $additional_text = "" |
| int | $peer_id = 0 |
| ILIAS Exercise PermanentLink PermanentLinkManager | $permanent_link |
| ilObjUser | $user |
| int | $ass_id |
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 |
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
Definition at line 22 of file class.ilExerciseMailNotification.php.
| ilExerciseMailNotification::__construct | ( | ) |
Definition at line 40 of file class.ilExerciseMailNotification.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
Definition at line 60 of file class.ilExerciseMailNotification.php.
References ilMailNotification\$type, ilMailNotification\appendBody(), getAssignmentId(), ilExAssignmentTypes\getInstance(), ilMailNotification\getLanguageText(), and ILIAS\Repository\user().
Referenced by send().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExerciseMailNotification::getAdditionalText | ( | ) |
Definition at line 92 of file class.ilExerciseMailNotification.php.
References $additional_text.
Referenced by send().
Here is the caller graph for this function:| ilExerciseMailNotification::getAssignmentId | ( | ) |
Definition at line 55 of file class.ilExerciseMailNotification.php.
References $ass_id.
Referenced by addOpenSubmission(), and send().
Here is the caller graph for this function:| ilExerciseMailNotification::getPeerId | ( | ) |
Definition at line 82 of file class.ilExerciseMailNotification.php.
References $peer_id.
|
protected |
Add language module exc.
Reimplemented from ilMailNotification.
Definition at line 380 of file class.ilExerciseMailNotification.php.
References getLanguage().
Referenced by send().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExerciseMailNotification::send | ( | ) |
Definition at line 97 of file class.ilExerciseMailNotification.php.
References $permanent_link, $user, addOpenSubmission(), ilMailNotification\appendBody(), getAdditionalText(), getAssignmentId(), ilMailNotification\getLanguage(), ilMailNotification\getLanguageText(), ilMailNotification\getMail(), ilMailNotification\getObjectTitle(), ilMailNotification\getRecipients(), ilMail\getSalutation(), ilMailNotification\getType(), initLanguage(), ilMailNotification\initMail(), ilExAssignment\lookupTitle(), ilExAssignment\lookupType(), sendExerciseNotification(), ilMailNotification\sendMail(), ilMailNotification\setBody(), ilMailNotification\setSubject(), TYPE_DEADLINE_REQUESTED, TYPE_FEEDBACK_FILE_ADDED, TYPE_FEEDBACK_TEXT_ADDED, TYPE_GRADING_DONE, TYPE_IDL_DEADLINE_SET, TYPE_MESSAGE_FROM_PF_GIVER, TYPE_MESSAGE_FROM_PF_RECIPIENT, TYPE_SUBMISSION_UPLOAD, and ilExAssignment\TYPE_UPLOAD.
Here is the call graph for this function:
|
protected |
Definition at line 348 of file class.ilExerciseMailNotification.php.
Referenced by send().
Here is the caller graph for this function:| ilExerciseMailNotification::setAdditionalText | ( | string | $a_val | ) |
Definition at line 87 of file class.ilExerciseMailNotification.php.
| ilExerciseMailNotification::setAssignmentId | ( | int | $a_val | ) |
Definition at line 50 of file class.ilExerciseMailNotification.php.
| ilExerciseMailNotification::setPeerId | ( | int | $a_val | ) |
Definition at line 77 of file class.ilExerciseMailNotification.php.
|
protected |
Definition at line 33 of file class.ilExerciseMailNotification.php.
Referenced by getAdditionalText().
|
protected |
Definition at line 38 of file class.ilExerciseMailNotification.php.
Referenced by getAssignmentId().
|
protected |
Definition at line 28 of file class.ilExerciseMailNotification.php.
|
protected |
Definition at line 34 of file class.ilExerciseMailNotification.php.
Referenced by getPeerId().
|
protected |
Definition at line 35 of file class.ilExerciseMailNotification.php.
Referenced by send().
|
protected |
Definition at line 37 of file class.ilExerciseMailNotification.php.
Referenced by send().
| const ilExerciseMailNotification::TYPE_DEADLINE_REQUESTED = 70 |
Definition at line 31 of file class.ilExerciseMailNotification.php.
Referenced by send(), and ILIAS\Exercise\Notification\NotificationManager\sendDeadlineRequestNotification().
| const ilExerciseMailNotification::TYPE_FEEDBACK_FILE_ADDED = 20 |
Definition at line 24 of file class.ilExerciseMailNotification.php.
Referenced by send().
| const ilExerciseMailNotification::TYPE_FEEDBACK_TEXT_ADDED = 40 |
Definition at line 26 of file class.ilExerciseMailNotification.php.
Referenced by send().
| const ilExerciseMailNotification::TYPE_GRADING_DONE = 70 |
Definition at line 27 of file class.ilExerciseMailNotification.php.
Referenced by send(), and ilExerciseManagementGUI\sendGradingNotificationObject().
| const ilExerciseMailNotification::TYPE_IDL_DEADLINE_SET = 80 |
Definition at line 32 of file class.ilExerciseMailNotification.php.
Referenced by send(), and ILIAS\Exercise\Notification\NotificationManager\sendDeadlineSetNotification().
| const ilExerciseMailNotification::TYPE_MESSAGE_FROM_PF_GIVER = 50 |
Definition at line 29 of file class.ilExerciseMailNotification.php.
Referenced by send().
| const ilExerciseMailNotification::TYPE_MESSAGE_FROM_PF_RECIPIENT = 60 |
Definition at line 30 of file class.ilExerciseMailNotification.php.
Referenced by send().
| const ilExerciseMailNotification::TYPE_SUBMISSION_UPLOAD = 30 |
Definition at line 25 of file class.ilExerciseMailNotification.php.
Referenced by send(), and ILIAS\Exercise\Notification\NotificationManager\sendUploadNotification().