ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
GUI class for exercise assignments. More...
Public Member Functions | |
__construct (ilObjExercise $a_exc) | |
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) | |
Protected Attributes | |
$exc | |
$current_ass_id | |
GUI class for exercise assignments.
This is not a real GUI class, could be moved to ilObjExerciseGUI
Definition at line 11 of file class.ilExAssignmentGUI.php.
ilExAssignmentGUI::__construct | ( | ilObjExercise | $a_exc | ) |
Constructor.
Definition at line 19 of file class.ilExAssignmentGUI.php.
|
protected |
Definition at line 215 of file class.ilExAssignmentGUI.php.
References $file, $ilCtrl, $lng, ilPaymentObject\_hasAccess(), ilPaymentObject\_isBuyable(), ilInfoScreenGUI\addProperty(), ilInfoScreenGUI\addSection(), ilExAssignment\getFiles(), and getSubmissionLink().
Referenced by getOverviewBody().
|
protected |
Definition at line 140 of file class.ilExAssignmentGUI.php.
References $lng, ilInfoScreenGUI\addProperty(), ilInfoScreenGUI\addSection(), ilExAssignment\getInstruction(), ilUtil\makeClickable(), and ilExAssignment\notStartedYet().
Referenced by getOverviewBody().
|
protected |
Definition at line 196 of file class.ilExAssignmentGUI.php.
References $lng, ilInfoScreenGUI\addProperty(), ilExAssignment\afterDeadline(), ilLinkButton\getInstance(), and getSubmissionLink().
Referenced by getOverviewBody().
|
protected |
Definition at line 161 of file class.ilExAssignmentGUI.php.
References $lng, ilInfoScreenGUI\addProperty(), ilInfoScreenGUI\addSection(), ilExAssignment\beforeDeadline(), ilDatePresentation\formatDate(), ilExAssignment\getDeadline(), ilExAssignment\getStartTime(), getTimeString(), IL_CAL_UNIX, and ilExAssignment\notStartedYet().
Referenced by getOverviewBody().
|
protected |
Definition at line 243 of file class.ilExAssignmentGUI.php.
References $ilCtrl, $ilUser, $lng, ilPaymentObject\_hasAccess(), ilPaymentObject\_isBuyable(), ilInfoScreenGUI\addProperty(), ilInfoScreenGUI\addSection(), addSubmissionFeedback(), ilExAssignment\afterDeadlineStrict(), ilExAssignment\FEEDBACK_DATE_DEADLINE, ilDatePresentation\formatDate(), ilExAssignment\getFeedbackDate(), ilExAssignment\getFeedbackFile(), ilExAssignment\getId(), ilExSubmissionGUI\getOverviewContent(), ilExPeerReviewGUI\getOverviewContent(), and IL_CAL_DATETIME.
Referenced by getOverviewBody().
|
protected |
Definition at line 300 of file class.ilExAssignmentGUI.php.
References $file, $img, $lng, ilInfoScreenGUI\addProperty(), ilInfoScreenGUI\addSection(), ilFSStorageExercise\countFeedbackFiles(), ilExAssignment\getExerciseId(), ilExAssignment\getFeedbackFile(), ilExAssignment\getId(), ilExAssignment\getMemberStatus(), and getSubmissionLink().
Referenced by addSubmission().
ilExAssignmentGUI::getOverviewBody | ( | ilExAssignment | $a_ass | ) |
Get assignment body for overview.
Definition at line 103 of file class.ilExAssignmentGUI.php.
References $info, $tpl, addFiles(), addInstructions(), addPublicSubmissions(), addSchedule(), addSubmission(), ilExAssignment\getId(), and ilExAssignment\notStartedYet().
ilExAssignmentGUI::getOverviewHeader | ( | ilExAssignment | $a_ass | ) |
Get assignment header for overview.
Definition at line 27 of file class.ilExAssignmentGUI.php.
References $lng, $tpl, ilDatePresentation\formatDate(), ilExAssignment\getDeadline(), ilUtil\getImagePath(), ilExAssignment\getMandatory(), ilExAssignment\getMemberStatus(), ilExAssignment\getPeerReview(), ilExAssignment\getPeerReviewDeadline(), ilExAssignment\getStartTime(), getTimeString(), ilExAssignment\getTitle(), IL_CAL_UNIX, and ilExAssignment\notStartedYet().
|
protected |
Definition at line 396 of file class.ilExAssignmentGUI.php.
Referenced by addFiles(), addPublicSubmissions(), and addSubmissionFeedback().
ilExAssignmentGUI::getTimeString | ( | $a_deadline | ) |
Get time string for deadline.
Definition at line 375 of file class.ilExAssignmentGUI.php.
References $lng, IL_CAL_UNIX, and ilUtil\period2String().
Referenced by addSchedule(), and getOverviewHeader().
|
protected |
Definition at line 14 of file class.ilExAssignmentGUI.php.
|
protected |
Definition at line 13 of file class.ilExAssignmentGUI.php.