ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilExPeerReviewGUI. More...
Public Member Functions | |
__construct (ilExAssignment $a_ass, ilExSubmission $a_submission=null) | |
Constructor. More... | |
executeCommand () | |
returnToParentObject () | |
showGivenPeerReviewObject () | |
showReceivedPeerReviewObject () | |
editPeerReviewObject () | |
editPeerReviewItemObject (ilPropertyFormGUI $a_form=null) | |
updateCritAjaxObject () | |
updatePeerReviewObject () | |
downloadPeerReviewObject () | |
showPeerReviewOverviewObject () | |
confirmResetPeerReviewObject () | |
resetPeerReviewObject () | |
Static Public Member Functions | |
static | getOverviewContent (ilInfoScreenGUI $a_info, ilExSubmission $a_submission) |
Protected Member Functions | |
canGive () | |
canView () | |
renderInfoWidget (ilInfoScreenGUI $a_info_widget, array $a_peer_items, $a_by_peer=false) | |
getLateSubmissionInfo (ilExSubmission $a_submission) | |
isValidPeer ($a_peer_id) | |
getSubmissionContent (ilExSubmission $a_submission) | |
initPeerReviewItemForm ($a_peer_id) | |
handlePeerReviewChange () | |
Protected Attributes | |
$ass | |
$submission | |
Class ilExPeerReviewGUI.
ilExPeerReviewGUI: ilFileSystemGUI, ilRatingGUI, ilExSubmissionTextGUI, ilInfoScreenGUI
Definition at line 13 of file class.ilExPeerReviewGUI.php.
ilExPeerReviewGUI::__construct | ( | ilExAssignment | $a_ass, |
ilExSubmission | $a_submission = null |
||
) |
Constructor.
ilExAssignment | $a_ass | |
ilExSubmission | $a_sub |
Definition at line 25 of file class.ilExPeerReviewGUI.php.
References $ilCtrl, $lng, and $tpl.
|
protected |
Definition at line 229 of file class.ilExPeerReviewGUI.php.
References time.
Referenced by downloadPeerReviewObject(), editPeerReviewItemObject(), editPeerReviewObject(), executeCommand(), updateCritAjaxObject(), and updatePeerReviewObject().
|
protected |
Definition at line 237 of file class.ilExPeerReviewGUI.php.
References time.
Referenced by downloadPeerReviewObject(), showGivenPeerReviewObject(), and showReceivedPeerReviewObject().
ilExPeerReviewGUI::confirmResetPeerReviewObject | ( | ) |
Definition at line 796 of file class.ilExPeerReviewGUI.php.
References $ilCtrl, $tpl, and returnToParentObject().
ilExPeerReviewGUI::downloadPeerReviewObject | ( | ) |
Definition at line 712 of file class.ilExPeerReviewGUI.php.
References $_GET, $file, $ilCtrl, canGive(), canView(), ilUtil\deliverFile(), ilExcCriteria\getInstanceById(), ilExcCriteria\getInstanceByType(), and returnToParentObject().
ilExPeerReviewGUI::editPeerReviewItemObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 468 of file class.ilExPeerReviewGUI.php.
References $_GET, $tpl, canGive(), initPeerReviewItemForm(), isValidPeer(), and returnToParentObject().
Referenced by updatePeerReviewObject().
ilExPeerReviewGUI::editPeerReviewObject | ( | ) |
Definition at line 431 of file class.ilExPeerReviewGUI.php.
References $tbl, $tpl, canGive(), ilDatePresentation\formatDate(), IL_CAL_UNIX, returnToParentObject(), ilUtil\sendFailure(), ilUtil\sendInfo(), and time.
ilExPeerReviewGUI::executeCommand | ( | ) |
Definition at line 39 of file class.ilExPeerReviewGUI.php.
References $_GET, $cmd, $ilCtrl, $ilUser, $lng, $ret, $valid, array, canGive(), ilFSStorageExercise\create(), returnToParentObject(), and ilFileSystemGUI\setTableId().
|
protected |
Definition at line 417 of file class.ilExPeerReviewGUI.php.
References $file, $lng, and ilExSubmission\getFiles().
Referenced by initPeerReviewItemForm(), and renderInfoWidget().
|
static |
Definition at line 143 of file class.ilExPeerReviewGUI.php.
References $ass, $ilCtrl, $lng, ilInfoScreenGUI\addProperty(), array, ilDatePresentation\formatDate(), ilExSubmission\getAssignment(), ilLinkButton\getInstance(), ilExSubmission\getPeerReview(), ilExSubmission\getUserId(), IL_CAL_UNIX, and time.
Referenced by ilExAssignmentGUI\addSubmission().
|
protected |
Definition at line 499 of file class.ilExPeerReviewGUI.php.
References $text, ilRTE\_replaceMediaObjectImageSrc(), ilExSubmission\getFiles(), and ilExAssignment\TYPE_TEXT.
Referenced by initPeerReviewItemForm(), and renderInfoWidget().
|
protected |
Definition at line 701 of file class.ilExPeerReviewGUI.php.
References ilObjExercise\processExerciseStatus().
Referenced by updateCritAjaxObject(), and updatePeerReviewObject().
|
protected |
Definition at line 519 of file class.ilExPeerReviewGUI.php.
References $ilCtrl, $lng, $submission, getLateSubmissionInfo(), ilUserUtil\getNamePresentation(), getSubmissionContent(), and ilNonEditableValueGUI\setValue().
Referenced by editPeerReviewItemObject(), and updatePeerReviewObject().
|
protected |
Definition at line 486 of file class.ilExPeerReviewGUI.php.
Referenced by editPeerReviewItemObject(), and updatePeerReviewObject().
|
protected |
Definition at line 304 of file class.ilExPeerReviewGUI.php.
References $html, $lng, $submission, $title, ilInfoScreenGUI\addProperty(), ilInfoScreenGUI\addSection(), getLateSubmissionInfo(), ilUserUtil\getNamePresentation(), and getSubmissionContent().
Referenced by showGivenPeerReviewObject(), and showReceivedPeerReviewObject().
ilExPeerReviewGUI::resetPeerReviewObject | ( | ) |
Definition at line 818 of file class.ilExPeerReviewGUI.php.
References $ass, $ilCtrl, $submission, ilExAssignment\PEER_REVIEW_VALID_NONE, returnToParentObject(), and ilUtil\sendSuccess().
ilExPeerReviewGUI::returnToParentObject | ( | ) |
Definition at line 138 of file class.ilExPeerReviewGUI.php.
Referenced by confirmResetPeerReviewObject(), downloadPeerReviewObject(), editPeerReviewItemObject(), editPeerReviewObject(), executeCommand(), resetPeerReviewObject(), showGivenPeerReviewObject(), showPeerReviewOverviewObject(), showReceivedPeerReviewObject(), and updatePeerReviewObject().
ilExPeerReviewGUI::showGivenPeerReviewObject | ( | ) |
Definition at line 246 of file class.ilExPeerReviewGUI.php.
References $lng, $tpl, canView(), renderInfoWidget(), returnToParentObject(), and ilUtil\sendFailure().
ilExPeerReviewGUI::showPeerReviewOverviewObject | ( | ) |
Definition at line 753 of file class.ilExPeerReviewGUI.php.
References $tbl, $tpl, ilPanelGUI\getInstance(), and returnToParentObject().
ilExPeerReviewGUI::showReceivedPeerReviewObject | ( | ) |
Definition at line 272 of file class.ilExPeerReviewGUI.php.
References $ilCtrl, $lng, $tpl, canView(), renderInfoWidget(), returnToParentObject(), and ilUtil\sendFailure().
ilExPeerReviewGUI::updateCritAjaxObject | ( | ) |
Definition at line 607 of file class.ilExPeerReviewGUI.php.
References $_POST, $html, $ilCtrl, $ilUser, $tpl, canGive(), exit, ilExcCriteria\getInstanceById(), ilExcCriteria\getInstanceByType(), and handlePeerReviewChange().
ilExPeerReviewGUI::updatePeerReviewObject | ( | ) |
Definition at line 642 of file class.ilExPeerReviewGUI.php.
References $ilCtrl, $lng, $valid, array, canGive(), editPeerReviewItemObject(), handlePeerReviewChange(), initPeerReviewItemForm(), isValidPeer(), returnToParentObject(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
Definition at line 15 of file class.ilExPeerReviewGUI.php.
Referenced by getOverviewContent(), and resetPeerReviewObject().
|
protected |
Definition at line 16 of file class.ilExPeerReviewGUI.php.
Referenced by initPeerReviewItemForm(), renderInfoWidget(), and resetPeerReviewObject().