ILIAS
release_8 Revision v8.23
|
GUI class for exercise assignments. More...
Public Member Functions | |
getOverviewHeader (ilExAssignment $a_ass) | |
Get assignment header for overview. More... | |
getOverviewBody (ilExAssignment $a_ass) | |
Get assignment body for overview. More... | |
getTimeString (int $a_deadline) | |
Get time string for deadline. More... | |
Protected Member Functions | |
addInstructions (ilInfoScreenGUI $a_info, ilExAssignment $a_ass) | |
addSchedule (ilInfoScreenGUI $a_info, ilExAssignment $a_ass) | |
addPublicSubmissions (ilInfoScreenGUI $a_info, ilExAssignment $a_ass) | |
addFiles (ilInfoScreenGUI $a_info, ilExAssignment $a_ass) | |
addSubmission (ilInfoScreenGUI $a_info, ilExAssignment $a_ass) | |
addSubmissionFeedback (ilInfoScreenGUI $a_info, ilExAssignment $a_ass, string $a_feedback_id, bool $a_show_global_feedback) | |
getSubmissionLink (string $a_cmd, array $a_params=null) | |
getIconForStatus (string $status, int $variant=ilLPStatusIcons::ICON_VARIANT_LONG) | |
Get the rendered icon for a status (failed, passed or not graded). More... | |
Protected Attributes | |
ILIAS MediaObjects MediaType MediaTypeManager | $media_type |
ilLanguage | $lng |
ilObjUser | $user |
ilCtrl | $ctrl |
ilObjExercise | $exc |
int | $current_ass_id |
InternalService | $service |
MandatoryAssignmentsManager | $mandatory_manager |
UIServices | $ui |
int | $requested_ass_id |
GUI class for exercise assignments.
Definition at line 28 of file class.ilExAssignmentGUI.php.
|
protected |
Definition at line 284 of file class.ilExAssignmentGUI.php.
References $DIC, $lng, ilInfoScreenGUI\addProperty(), ilInfoScreenGUI\addSection(), ilExAssignment\getFiles(), ilExAssignment\getId(), ilUtil\getImagePath(), ilModalGUI\getInstance(), ilObjMediaObject\getMimeType(), getSubmissionLink(), ilLanguage\loadLanguageModule(), ilLanguage\txt(), and ilModalGUI\TYPE_LARGE.
Referenced by getOverviewBody().
|
protected |
Definition at line 196 of file class.ilExAssignmentGUI.php.
References $ilUser, $user, ilInfoScreenGUI\addProperty(), ilInfoScreenGUI\addSection(), ilExAssignment\getId(), and ilExAssignmentInfo\getInstructionInfo().
Referenced by getOverviewBody().
|
protected |
Definition at line 260 of file class.ilExAssignmentGUI.php.
References $ilUser, $lng, $user, ilInfoScreenGUI\addProperty(), ilExAssignment\getId(), ilLinkButton\getInstance(), ilExcAssMemberState\getInstanceByIds(), getSubmissionLink(), and ilLanguage\txt().
Referenced by addSubmission().
|
protected |
ilDateTimeException|ilExcUnknownAssignmentTypeException |
Definition at line 212 of file class.ilExAssignmentGUI.php.
References $ctrl, $ilUser, $lng, $user, ilInfoScreenGUI\addProperty(), ilInfoScreenGUI\addSection(), ilExAssignment\getId(), ilExcAssMemberState\getInstanceByIds(), ilExAssignmentInfo\getScheduleInfo(), ilLanguage\txt(), and ILIAS\Repository\ui().
Referenced by getOverviewBody().
|
protected |
ilCtrlException | |
ilDateTimeException |
Definition at line 359 of file class.ilExAssignmentGUI.php.
References $ilUser, $lng, $user, ilInfoScreenGUI\addProperty(), addPublicSubmissions(), ilInfoScreenGUI\addSection(), addSubmissionFeedback(), ilExAssignment\afterCustomDate(), ilExAssignment\FEEDBACK_DATE_CUSTOM, ilExAssignment\FEEDBACK_DATE_DEADLINE, ilDatePresentation\formatDate(), ilExAssignment\getFeedbackDate(), ilExAssignment\getFeedbackFile(), ilExAssignment\getId(), ilExcAssMemberState\getInstanceByIds(), ilExPeerReviewGUI\getOverviewContent(), IL_CAL_DATETIME, and ilLanguage\txt().
Referenced by getOverviewBody().
|
protected |
Definition at line 404 of file class.ilExAssignmentGUI.php.
References $img, $lng, ilInfoScreenGUI\addProperty(), ilInfoScreenGUI\addSection(), ilFSStorageExercise\countFeedbackFiles(), ilExAssignment\getExerciseId(), ilExAssignment\getFeedbackFile(), getIconForStatus(), ilExAssignment\getId(), ilExAssignment\getMemberStatus(), getSubmissionLink(), and ilLanguage\txt().
Referenced by addSubmission().
|
protected |
Get the rendered icon for a status (failed, passed or not graded).
Definition at line 524 of file class.ilExAssignmentGUI.php.
References $lng, ilLPStatusIcons\getInstance(), and ilLanguage\txt().
Referenced by addSubmissionFeedback(), and getOverviewHeader().
ilExAssignmentGUI::getOverviewBody | ( | ilExAssignment | $a_ass | ) |
Get assignment body for overview.
Definition at line 165 of file class.ilExAssignmentGUI.php.
References $DIC, $ilUser, $tpl, addFiles(), addInstructions(), addSchedule(), addSubmission(), ilExAssignment\getId(), and ilExcAssMemberState\getInstanceByIds().
ilExAssignmentGUI::getOverviewHeader | ( | ilExAssignment | $a_ass | ) |
Get assignment header for overview.
ilDateTimeException |
Definition at line 70 of file class.ilExAssignmentGUI.php.
References $ilUser, $lng, $tpl, $user, getIconForStatus(), ilExAssignment\getId(), ilExcAssMemberState\getInstanceByIds(), ilExAssignment\getMemberStatus(), ilExAssignment\getTitle(), ilLPStatusIcons\ICON_VARIANT_SHORT, ilLanguage\loadLanguageModule(), ilLanguage\txt(), and ILIAS\Repository\user().
|
protected |
Definition at line 496 of file class.ilExAssignmentGUI.php.
References $ctrl, $name, $url, and ilCtrl\setParameterByClass().
Referenced by addFiles(), addPublicSubmissions(), and addSubmissionFeedback().
ilExAssignmentGUI::getTimeString | ( | int | $a_deadline | ) |
Get time string for deadline.
ilDateTimeException |
Definition at line 479 of file class.ilExAssignmentGUI.php.
References $lng, IL_CAL_UNIX, ilLegacyFormElementsUtil\period2String(), and ilLanguage\txt().
|
protected |
Definition at line 33 of file class.ilExAssignmentGUI.php.
Referenced by addSchedule(), and getSubmissionLink().
|
protected |
Definition at line 35 of file class.ilExAssignmentGUI.php.
|
protected |
Definition at line 34 of file class.ilExAssignmentGUI.php.
|
protected |
Definition at line 31 of file class.ilExAssignmentGUI.php.
Referenced by addFiles(), addPublicSubmissions(), addSchedule(), addSubmission(), addSubmissionFeedback(), getIconForStatus(), getOverviewHeader(), and getTimeString().
|
protected |
Definition at line 37 of file class.ilExAssignmentGUI.php.
|
protected |
Definition at line 30 of file class.ilExAssignmentGUI.php.
|
protected |
Definition at line 39 of file class.ilExAssignmentGUI.php.
|
protected |
Definition at line 36 of file class.ilExAssignmentGUI.php.
|
protected |
Definition at line 38 of file class.ilExAssignmentGUI.php.
|
protected |
Definition at line 32 of file class.ilExAssignmentGUI.php.
Referenced by addInstructions(), addPublicSubmissions(), addSchedule(), addSubmission(), and getOverviewHeader().