ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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 | |
$lng | |
$user | |
$ctrl | |
$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 34 of file class.ilExAssignmentGUI.php.
|
protected |
Definition at line 261 of file class.ilExAssignmentGUI.php.
References $ctrl, $DIC, $file, $files, $format, $ilCtrl, $lng, $type, ilInfoScreenGUI\addProperty(), ilInfoScreenGUI\addSection(), array, ilExAssignment\getFiles(), ilExAssignment\getId(), ilUtil\getImagePath(), ilModalGUI\getInstance(), ilObjMediaObject\getMimeType(), getSubmissionLink(), and ilModalGUI\TYPE_LARGE.
Referenced by getOverviewBody().
|
protected |
Definition at line 167 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 243 of file class.ilExAssignmentGUI.php.
References $lng, ilInfoScreenGUI\addProperty(), ilExAssignment\afterDeadline(), ilLinkButton\getInstance(), and getSubmissionLink().
Referenced by addSubmission().
|
protected |
Definition at line 185 of file class.ilExAssignmentGUI.php.
References $ilUser, $lng, $user, ilInfoScreenGUI\addProperty(), ilInfoScreenGUI\addSection(), ilExAssignment\beforeDeadline(), ilDatePresentation\formatDate(), ilExAssignment\getDeadline(), ilExAssignment\getPersonalDeadline(), ilExAssignment\getStartTime(), getTimeString(), IL_CAL_UNIX, ilExAssignment\notStartedYet(), and time.
Referenced by getOverviewBody().
|
protected |
Definition at line 331 of file class.ilExAssignmentGUI.php.
References $ctrl, $ilCtrl, $ilUser, $lng, $user, ilInfoScreenGUI\addProperty(), addPublicSubmissions(), ilInfoScreenGUI\addSection(), addSubmissionFeedback(), ilExAssignment\afterDeadlineStrict(), ilExAssignment\FEEDBACK_DATE_DEADLINE, ilDatePresentation\formatDate(), ilExAssignment\getFeedbackDate(), ilExAssignment\getFeedbackFile(), ilExSubmissionGUI\getOverviewContent(), ilExPeerReviewGUI\getOverviewContent(), and IL_CAL_DATETIME.
Referenced by getOverviewBody().
|
protected |
Definition at line 371 of file class.ilExAssignmentGUI.php.
References $file, $files, $img, $lng, ilInfoScreenGUI\addProperty(), ilInfoScreenGUI\addSection(), array, ilFSStorageExercise\countFeedbackFiles(), ilExAssignment\getExerciseId(), ilExAssignment\getFeedbackFile(), ilExAssignment\getId(), ilUtil\getImagePath(), ilExAssignment\getMemberStatus(), and getSubmissionLink().
Referenced by addSubmission().
ilExAssignmentGUI::getOverviewBody | ( | ilExAssignment | $a_ass | ) |
Get assignment body for overview.
Definition at line 137 of file class.ilExAssignmentGUI.php.
References $info, $tpl, addFiles(), addInstructions(), addSchedule(), addSubmission(), ilExAssignment\getId(), and ilExAssignment\notStartedYet().
ilExAssignmentGUI::getOverviewHeader | ( | ilExAssignment | $a_ass | ) |
Get assignment header for overview.
Definition at line 47 of file class.ilExAssignmentGUI.php.
References $ilUser, $lng, $tpl, $user, ilDatePresentation\formatDate(), ilExAssignment\getDeadline(), ilUtil\getImagePath(), ilExAssignment\getMandatory(), ilExAssignment\getMemberStatus(), ilExAssignment\getPeerReview(), ilExAssignment\getPeerReviewDeadline(), ilExAssignment\getPersonalDeadline(), ilExAssignment\getStartTime(), getTimeString(), ilExAssignment\getTitle(), IL_CAL_UNIX, ilExAssignment\notStartedYet(), and time.
|
protected |
Definition at line 465 of file class.ilExAssignmentGUI.php.
References $ctrl, $ilCtrl, $name, and $url.
Referenced by addFiles(), addPublicSubmissions(), and addSubmissionFeedback().
ilExAssignmentGUI::getTimeString | ( | $a_deadline | ) |
Get time string for deadline.
Definition at line 448 of file class.ilExAssignmentGUI.php.
References $lng, IL_CAL_UNIX, ilUtil\period2String(), and time.
Referenced by addSchedule(), and getOverviewHeader().
|
protected |
Definition at line 26 of file class.ilExAssignmentGUI.php.
Referenced by addFiles(), addSubmission(), and getSubmissionLink().
|
protected |
Definition at line 29 of file class.ilExAssignmentGUI.php.
|
protected |
Definition at line 28 of file class.ilExAssignmentGUI.php.
|
protected |
Definition at line 16 of file class.ilExAssignmentGUI.php.
Referenced by addFiles(), addInstructions(), addPublicSubmissions(), addSchedule(), addSubmission(), addSubmissionFeedback(), getOverviewHeader(), and getTimeString().
|
protected |
Definition at line 21 of file class.ilExAssignmentGUI.php.
Referenced by addSchedule(), addSubmission(), and getOverviewHeader().