ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 299 of file class.ilExAssignmentGUI.php.
References $ctrl, $DIC, $files, $format, $ilCtrl, $lng, $type, ilInfoScreenGUI\addProperty(), ilInfoScreenGUI\addSection(), ilExAssignment\getFiles(), ilExAssignment\getId(), ilUtil\getImagePath(), ilModalGUI\getInstance(), ilObjMediaObject\getMimeType(), getSubmissionLink(), and ilModalGUI\TYPE_LARGE.
Referenced by getOverviewBody().
|
protected |
Definition at line 175 of file class.ilExAssignmentGUI.php.
References $ilUser, $lng, $state, $user, ilInfoScreenGUI\addProperty(), ilInfoScreenGUI\addSection(), ilExAssignment\getId(), ilExcAssMemberState\getInstanceByIds(), ilExAssignment\getInstruction(), and ilUtil\makeClickable().
Referenced by getOverviewBody().
|
protected |
Definition at line 275 of file class.ilExAssignmentGUI.php.
References $ilUser, $lng, $state, $user, ilInfoScreenGUI\addProperty(), ilExAssignment\getId(), ilLinkButton\getInstance(), ilExcAssMemberState\getInstanceByIds(), and getSubmissionLink().
Referenced by addSubmission().
|
protected |
Definition at line 197 of file class.ilExAssignmentGUI.php.
References $_GET, $ctrl, $ilCtrl, $ilUser, $lng, $state, $user, ilInfoScreenGUI\addProperty(), ilInfoScreenGUI\addSection(), ilExAssignment\getId(), ilExcAssMemberState\getInstanceByIds(), and ilExAssignment\getPersonalDeadline().
Referenced by getOverviewBody().
|
protected |
Definition at line 369 of file class.ilExAssignmentGUI.php.
References $ctrl, $ilCtrl, $ilUser, $lng, $state, $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().
|
protected |
Definition at line 418 of file class.ilExAssignmentGUI.php.
References $files, $img, $lng, ilInfoScreenGUI\addProperty(), ilInfoScreenGUI\addSection(), 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 139 of file class.ilExAssignmentGUI.php.
References $DIC, $ilUser, $info, $state, $tpl, addFiles(), addInstructions(), addSchedule(), addSubmission(), ilExAssignment\getId(), and ilExcAssMemberState\getInstanceByIds().
ilExAssignmentGUI::getOverviewHeader | ( | ilExAssignment | $a_ass | ) |
Get assignment header for overview.
Definition at line 49 of file class.ilExAssignmentGUI.php.
References $ilUser, $lng, $state, $tpl, $user, ilExAssignment\getDeadline(), ilExAssignment\getId(), ilUtil\getImagePath(), ilExcAssMemberState\getInstanceByIds(), ilExAssignment\getMandatory(), ilExAssignment\getMemberStatus(), ilExAssignment\getPersonalDeadline(), and ilExAssignment\getTitle().
|
protected |
Definition at line 512 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 495 of file class.ilExAssignmentGUI.php.
References $lng, IL_CAL_UNIX, and ilUtil\period2String().
|
protected |
Definition at line 26 of file class.ilExAssignmentGUI.php.
Referenced by addFiles(), addSchedule(), 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 addInstructions(), addPublicSubmissions(), addSchedule(), addSubmission(), and getOverviewHeader().