ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 | |
$ctrl | |
$tabs_gui | |
$lng | |
$tpl | |
$user | |
$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 50 of file class.ilExPeerReviewGUI.php.
References $DIC, $ilCtrl, $lng, $tpl, and user().
|
protected |
Definition at line 270 of file class.ilExPeerReviewGUI.php.
Referenced by downloadPeerReviewObject(), editPeerReviewItemObject(), editPeerReviewObject(), executeCommand(), updateCritAjaxObject(), and updatePeerReviewObject().
|
protected |
Definition at line 278 of file class.ilExPeerReviewGUI.php.
Referenced by downloadPeerReviewObject(), showGivenPeerReviewObject(), and showReceivedPeerReviewObject().
ilExPeerReviewGUI::confirmResetPeerReviewObject | ( | ) |
Definition at line 801 of file class.ilExPeerReviewGUI.php.
References $ctrl, $ilCtrl, $tabs_gui, $tpl, and returnToParentObject().
ilExPeerReviewGUI::downloadPeerReviewObject | ( | ) |
Definition at line 723 of file class.ilExPeerReviewGUI.php.
References $_GET, $ctrl, $ilCtrl, canGive(), canView(), ilUtil\deliverFile(), ilExcCriteria\getInstanceById(), ilExcCriteria\getInstanceByType(), and returnToParentObject().
ilExPeerReviewGUI::editPeerReviewItemObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 500 of file class.ilExPeerReviewGUI.php.
References $_GET, $tpl, canGive(), initPeerReviewItemForm(), isValidPeer(), and returnToParentObject().
Referenced by updatePeerReviewObject().
ilExPeerReviewGUI::editPeerReviewObject | ( | ) |
Definition at line 460 of file class.ilExPeerReviewGUI.php.
References $tbl, $tpl, canGive(), ilDatePresentation\formatDate(), IL_CAL_UNIX, returnToParentObject(), ilUtil\sendFailure(), and ilUtil\sendInfo().
ilExPeerReviewGUI::executeCommand | ( | ) |
Definition at line 70 of file class.ilExPeerReviewGUI.php.
References $_GET, $ctrl, $ilCtrl, $ilUser, $lng, $ret, $tabs_gui, $user, $valid, canGive(), ilFSStorageExercise\create(), returnToParentObject(), and ilFileSystemGUI\setTableId().
|
protected |
Definition at line 448 of file class.ilExPeerReviewGUI.php.
References $lng, and ilExSubmission\getFiles().
Referenced by initPeerReviewItemForm(), and renderInfoWidget().
|
static |
Definition at line 177 of file class.ilExPeerReviewGUI.php.
References $ass, $DIC, $ilCtrl, $lng, $state, ilInfoScreenGUI\addProperty(), ilExSubmission\getAssignment(), ilLinkButton\getInstance(), ilExcAssMemberState\getInstanceByIds(), ilExSubmission\getPeerReview(), and ilExSubmission\getUserId().
Referenced by ilExAssignmentGUI\addSubmission().
|
protected |
Definition at line 527 of file class.ilExPeerReviewGUI.php.
References $text, ilRTE\_replaceMediaObjectImageSrc(), ilExSubmission\getFiles(), and ilExAssignment\TYPE_TEXT.
Referenced by initPeerReviewItemForm(), and renderInfoWidget().
|
protected |
Definition at line 711 of file class.ilExPeerReviewGUI.php.
References $exercise.
Referenced by updateCritAjaxObject(), and updatePeerReviewObject().
|
protected |
Definition at line 544 of file class.ilExPeerReviewGUI.php.
References $ctrl, $form, $id, $ilCtrl, $input, $lng, $submission, $values, getLateSubmissionInfo(), ilUserUtil\getNamePresentation(), getSubmissionContent(), and ilNonEditableValueGUI\setValue().
Referenced by editPeerReviewItemObject(), and updatePeerReviewObject().
|
protected |
Definition at line 516 of file class.ilExPeerReviewGUI.php.
Referenced by editPeerReviewItemObject(), and updatePeerReviewObject().
|
protected |
Definition at line 344 of file class.ilExPeerReviewGUI.php.
References $html, $lng, $submission, $title, $values, ilInfoScreenGUI\addProperty(), ilInfoScreenGUI\addSection(), getLateSubmissionInfo(), ilUserUtil\getNamePresentation(), and getSubmissionContent().
Referenced by showGivenPeerReviewObject(), and showReceivedPeerReviewObject().
ilExPeerReviewGUI::resetPeerReviewObject | ( | ) |
Definition at line 824 of file class.ilExPeerReviewGUI.php.
References $ass, $ctrl, $exercise, $ilCtrl, $submission, ilExAssignment\PEER_REVIEW_VALID_NONE, and returnToParentObject().
ilExPeerReviewGUI::returnToParentObject | ( | ) |
Definition at line 172 of file class.ilExPeerReviewGUI.php.
Referenced by confirmResetPeerReviewObject(), downloadPeerReviewObject(), editPeerReviewItemObject(), editPeerReviewObject(), executeCommand(), resetPeerReviewObject(), showGivenPeerReviewObject(), showPeerReviewOverviewObject(), showReceivedPeerReviewObject(), and updatePeerReviewObject().
ilExPeerReviewGUI::showGivenPeerReviewObject | ( | ) |
Definition at line 287 of file class.ilExPeerReviewGUI.php.
References $lng, $tpl, canView(), renderInfoWidget(), returnToParentObject(), and ilUtil\sendFailure().
ilExPeerReviewGUI::showPeerReviewOverviewObject | ( | ) |
Definition at line 759 of file class.ilExPeerReviewGUI.php.
References $tbl, $tpl, $user, ilPanelGUI\getInstance(), and returnToParentObject().
ilExPeerReviewGUI::showReceivedPeerReviewObject | ( | ) |
Definition at line 312 of file class.ilExPeerReviewGUI.php.
References $ctrl, $ilCtrl, $lng, $tpl, canView(), renderInfoWidget(), returnToParentObject(), and ilUtil\sendFailure().
ilExPeerReviewGUI::updateCritAjaxObject | ( | ) |
Definition at line 626 of file class.ilExPeerReviewGUI.php.
References $_POST, $ctrl, $html, $ilCtrl, $ilUser, $tpl, $user, canGive(), exit, ilExcCriteria\getInstanceById(), ilExcCriteria\getInstanceByType(), and handlePeerReviewChange().
ilExPeerReviewGUI::updatePeerReviewObject | ( | ) |
Definition at line 659 of file class.ilExPeerReviewGUI.php.
References $ctrl, $form, $ilCtrl, $lng, $valid, $values, canGive(), editPeerReviewItemObject(), handlePeerReviewChange(), initPeerReviewItemForm(), isValidPeer(), returnToParentObject(), and ilUtil\sendFailure().
|
protected |
Definition at line 40 of file class.ilExPeerReviewGUI.php.
Referenced by getOverviewContent(), and resetPeerReviewObject().
|
protected |
Definition at line 18 of file class.ilExPeerReviewGUI.php.
Referenced by confirmResetPeerReviewObject(), downloadPeerReviewObject(), executeCommand(), initPeerReviewItemForm(), resetPeerReviewObject(), showReceivedPeerReviewObject(), updateCritAjaxObject(), and updatePeerReviewObject().
|
protected |
Definition at line 28 of file class.ilExPeerReviewGUI.php.
Referenced by __construct(), executeCommand(), getLateSubmissionInfo(), getOverviewContent(), initPeerReviewItemForm(), renderInfoWidget(), showGivenPeerReviewObject(), showReceivedPeerReviewObject(), and updatePeerReviewObject().
|
protected |
Definition at line 41 of file class.ilExPeerReviewGUI.php.
Referenced by initPeerReviewItemForm(), renderInfoWidget(), and resetPeerReviewObject().
|
protected |
Definition at line 23 of file class.ilExPeerReviewGUI.php.
Referenced by confirmResetPeerReviewObject(), and executeCommand().
|
protected |
Definition at line 33 of file class.ilExPeerReviewGUI.php.
Referenced by __construct(), confirmResetPeerReviewObject(), editPeerReviewItemObject(), editPeerReviewObject(), showGivenPeerReviewObject(), showPeerReviewOverviewObject(), showReceivedPeerReviewObject(), and updateCritAjaxObject().
|
protected |
Definition at line 38 of file class.ilExPeerReviewGUI.php.
Referenced by executeCommand(), showPeerReviewOverviewObject(), and updateCritAjaxObject().