|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
GUI class for exercise assignments. More...
Collaboration diagram for ilExAssignmentGUI:Public Member Functions | |
| __construct (ilObjExercise $a_exc, ilExerciseInternalService $service) | |
| Constructor. More... | |
| getOverviewHeader (ilExAssignment $a_ass) | |
| Get assignment header for overview. More... | |
| getOverviewBody (ilExAssignment $a_ass) | |
| Get assignment body for overview. More... | |
| getTimeString ($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, $a_feedback_id, $a_show_global_feedback) | |
| getSubmissionLink ($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 | |
| $lng | |
| $user | |
| $ctrl | |
| $exc | |
| $current_ass_id | |
| $service | |
| $mandatory_manager | |
GUI class for exercise assignments.
This is not a real GUI class, could be moved to ilObjExerciseGUI
Definition at line 10 of file class.ilExAssignmentGUI.php.
| ilExAssignmentGUI::__construct | ( | ilObjExercise | $a_exc, |
| ilExerciseInternalService | $service | ||
| ) |
Constructor.
Definition at line 43 of file class.ilExAssignmentGUI.php.
References $DIC, $service, ui(), and user().
Here is the call graph for this function:
|
protected |
Definition at line 272 of file class.ilExAssignmentGUI.php.
References $ctrl, $DIC, $format, $lng, $type, ilInfoScreenGUI\addProperty(), ilInfoScreenGUI\addSection(), ilExAssignment\getFiles(), ilExAssignment\getId(), ilUtil\getImagePath(), ilModalGUI\getInstance(), ilObjMediaObject\getMimeType(), 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 191 of file class.ilExAssignmentGUI.php.
References $ilUser, $user, ilInfoScreenGUI\addProperty(), ilInfoScreenGUI\addSection(), and ilExAssignment\getId().
Referenced by getOverviewBody().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 249 of file class.ilExAssignmentGUI.php.
References $ilUser, $lng, $user, ilInfoScreenGUI\addProperty(), ilExAssignment\getId(), ilLinkButton\getInstance(), ilExcAssMemberState\getInstanceByIds(), and getSubmissionLink().
Referenced by addSubmission().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 203 of file class.ilExAssignmentGUI.php.
References $_GET, $ctrl, $ilUser, $lng, $user, ilInfoScreenGUI\addProperty(), ilInfoScreenGUI\addSection(), ilExAssignment\getId(), ilExcAssMemberState\getInstanceByIds(), and ui().
Referenced by getOverviewBody().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 343 of file class.ilExAssignmentGUI.php.
References $ctrl, $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(), ilExSubmissionGUI\getOverviewContent(), and IL_CAL_DATETIME.
Referenced by getOverviewBody().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 388 of file class.ilExAssignmentGUI.php.
References $img, $lng, ilInfoScreenGUI\addProperty(), ilInfoScreenGUI\addSection(), ilExAssignment\getExerciseId(), ilExAssignment\getFeedbackFile(), getIconForStatus(), ilExAssignment\getId(), and ilExAssignment\getMemberStatus().
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 501 of file class.ilExAssignmentGUI.php.
References $lng, and ilLPStatusIcons\getInstance().
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 159 of file class.ilExAssignmentGUI.php.
References $DIC, $ilUser, $tpl, 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.
Definition at line 60 of file class.ilExAssignmentGUI.php.
References $ilUser, $lng, $tpl, $user, ilExAssignment\getDeadline(), getIconForStatus(), ilExAssignment\getId(), ilExcAssMemberState\getInstanceByIds(), ilExAssignment\getMemberStatus(), ilExAssignment\getPersonalDeadline(), ilExAssignment\getTitle(), and ilLPStatusIcons\ICON_VARIANT_SHORT.
Here is the call graph for this function:
|
protected |
Definition at line 475 of file class.ilExAssignmentGUI.php.
References $ctrl, $name, and $url.
Referenced by addPublicSubmissions().
Here is the caller graph for this function:| ilExAssignmentGUI::getTimeString | ( | $a_deadline | ) |
Get time string for deadline.
Definition at line 458 of file class.ilExAssignmentGUI.php.
References $lng, IL_CAL_UNIX, and ilUtil\period2String().
Here is the call graph for this function:
|
protected |
Definition at line 25 of file class.ilExAssignmentGUI.php.
Referenced by addFiles(), addSchedule(), addSubmission(), and getSubmissionLink().
|
protected |
Definition at line 28 of file class.ilExAssignmentGUI.php.
|
protected |
Definition at line 27 of file class.ilExAssignmentGUI.php.
|
protected |
Definition at line 15 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 33 of file class.ilExAssignmentGUI.php.
Referenced by __construct().
|
protected |
Definition at line 20 of file class.ilExAssignmentGUI.php.
Referenced by addInstructions(), addPublicSubmissions(), addSchedule(), addSubmission(), and getOverviewHeader().