|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
GUI class for exercise assignments. More...
Collaboration diagram for ilExAssignmentGUI: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 Exercise InternalGUIService | $gui |
| 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 289 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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 200 of file class.ilExAssignmentGUI.php.
References $user, ilInfoScreenGUI\addProperty(), ilInfoScreenGUI\addSection(), ilExAssignment\getId(), and ilExAssignmentInfo\getInstructionInfo().
Referenced by getOverviewBody().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 264 of file class.ilExAssignmentGUI.php.
References Vendor\Package\$b, $lng, $user, ilInfoScreenGUI\addProperty(), ilExAssignment\getId(), ilExcAssMemberState\getInstanceByIds(), getSubmissionLink(), and ilLanguage\txt().
Referenced by addSubmission().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| ilDateTimeException|ilExcUnknownAssignmentTypeException |
Definition at line 216 of file class.ilExAssignmentGUI.php.
References $ctrl, $lng, $user, ilInfoScreenGUI\addProperty(), ilInfoScreenGUI\addSection(), ilExAssignment\getId(), ilExcAssMemberState\getInstanceByIds(), ilExAssignmentInfo\getScheduleInfo(), ilLanguage\txt(), and ILIAS\Repository\ui().
Referenced by getOverviewBody().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| ilCtrlException | |
| ilDateTimeException |
Definition at line 364 of file class.ilExAssignmentGUI.php.
References $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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 409 of file class.ilExAssignmentGUI.php.
References $lng, ilInfoScreenGUI\addProperty(), ilInfoScreenGUI\addSection(), ilExAssignment\getFeedbackFile(), getIconForStatus(), ilExAssignment\getId(), ilExAssignment\getMemberStatus(), getSubmissionLink(), ilLanguage\txt(), and ILIAS\Repository\user().
Referenced by addSubmission().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Get the rendered icon for a status (failed, passed or not graded).
Definition at line 528 of file class.ilExAssignmentGUI.php.
References $lng, ilLPStatusIcons\getInstance(), and ilLanguage\txt().
Referenced by addSubmissionFeedback(), and getOverviewHeader().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignmentGUI::getOverviewBody | ( | ilExAssignment | $a_ass | ) |
Get assignment body for overview.
Definition at line 169 of file class.ilExAssignmentGUI.php.
References $DIC, addFiles(), addInstructions(), addSchedule(), addSubmission(), ilExAssignment\getId(), and ilExcAssMemberState\getInstanceByIds().
Here is the call graph for this function:| ilExAssignmentGUI::getOverviewHeader | ( | ilExAssignment | $a_ass | ) |
Get assignment header for overview.
| ilDateTimeException |
Definition at line 74 of file class.ilExAssignmentGUI.php.
References $lng, $user, getIconForStatus(), ilExAssignment\getId(), ilExcAssMemberState\getInstanceByIds(), ilExAssignment\getMemberStatus(), ilExAssignment\getTitle(), ilLPStatusIcons\ICON_VARIANT_SHORT, ilLanguage\loadLanguageModule(), ilLanguage\txt(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
Definition at line 500 of file class.ilExAssignmentGUI.php.
References $ctrl, $url, and ilCtrl\setParameterByClass().
Referenced by addFiles(), addPublicSubmissions(), and addSubmissionFeedback().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignmentGUI::getTimeString | ( | int | $a_deadline | ) |
Get time string for deadline.
| ilDateTimeException |
Definition at line 483 of file class.ilExAssignmentGUI.php.
References $lng, IL_CAL_UNIX, ilLegacyFormElementsUtil\period2String(), and ilLanguage\txt().
Here is the call graph for this function:
|
protected |
Definition at line 34 of file class.ilExAssignmentGUI.php.
Referenced by addSchedule(), and getSubmissionLink().
|
protected |
Definition at line 36 of file class.ilExAssignmentGUI.php.
|
protected |
Definition at line 35 of file class.ilExAssignmentGUI.php.
|
protected |
Definition at line 30 of file class.ilExAssignmentGUI.php.
|
protected |
Definition at line 32 of file class.ilExAssignmentGUI.php.
Referenced by addFiles(), addPublicSubmissions(), addSchedule(), addSubmission(), addSubmissionFeedback(), getIconForStatus(), getOverviewHeader(), and getTimeString().
|
protected |
Definition at line 38 of file class.ilExAssignmentGUI.php.
|
protected |
Definition at line 31 of file class.ilExAssignmentGUI.php.
|
protected |
Definition at line 40 of file class.ilExAssignmentGUI.php.
|
protected |
Definition at line 37 of file class.ilExAssignmentGUI.php.
|
protected |
Definition at line 39 of file class.ilExAssignmentGUI.php.
|
protected |
Definition at line 33 of file class.ilExAssignmentGUI.php.
Referenced by addInstructions(), addPublicSubmissions(), addSchedule(), addSubmission(), and getOverviewHeader().