ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
For the purpose of streamlining the grading and learning-process status definition outside of tests, SCORM courses e.t.c. More...
Public Member Functions | |
__construct ($members_gui, $a_parent_gui, $a_ref_id) | |
executeCommand () | |
Protected Member Functions | |
view () | |
View grading informations for user. More... | |
edit (ilPropertyFormGUI $form=null) | |
Edit grading informations for user. More... | |
downloadAttachment () | |
save () | |
Save grading informations for user. More... | |
finalizeConfirmation () | |
Save grading informations and show confirmation form. More... | |
finalize () | |
Finalize the grading. More... | |
cancelFinalize () | |
Cancel finalizing and get back to edit form. More... | |
amend ($form=null) | |
Show grading form to amend the result. More... | |
saveAmend () | |
Save changes of grading result. More... | |
initGradingForm ($may_be_edited=true, $amend=false) | |
Inint form for gradings. More... | |
fileUploaded () | |
fillForm (ilPropertyFormGUI $a_form, ilIndividualAssessmentMember $member) | |
Fill form with current grading informations. More... | |
getFileLinkHTML ($amend=false) | |
Render grading form into template. More... | |
renderForm (ilPropertyFormGUI $form) | |
Render the form and put it into template. More... | |
setTabs (ilTabsGUI $tabs) | |
Set tabs. More... | |
getBackLink () | |
Get link for backlink. More... | |
redirect ($cmd) | |
Redirect to this with command. More... | |
mayBeEdited () | |
Grading may be edited by current user. More... | |
mayBeViewed () | |
Content of grading may be viewes by current user. More... | |
mayBeAmended () | |
Grading may be edited by current user after finalization. More... | |
userMayGrade () | |
Current user has permission to edit learning progess. More... | |
userMayView () | |
Current user has permission to read learning progress. More... | |
userMayAmend () | |
Current user has permission to amend grading. More... | |
targetWasEditedByOtherUser (ilIndividualAssessmentMember $member) | |
Grading was edited by an other user. More... | |
isFinalized () | |
Is grading finalized. More... | |
saveMember (array $post, $keep_examiner=false, $amend=false) | |
Save grading informations. More... | |
updateDataInMemberByArray (ilIndividualAssessmentMember $member, $data, $keep_examiner=false, $amend=false) | |
Updates member object with new grading informations. More... | |
uploadFile ($file) | |
updateFileName ($file_name) | |
Protected Attributes | |
$notificator | |
Private Member Functions | |
createDatetime ($datetime) | |
For the purpose of streamlining the grading and learning-process status definition outside of tests, SCORM courses e.t.c.
the IndividualAssessment is used. It caries a LPStatus, which is set Individually.
Definition at line 21 of file class.ilIndividualAssessmentMemberGUI.php.
ilIndividualAssessmentMemberGUI::__construct | ( | $members_gui, | |
$a_parent_gui, | |||
$a_ref_id | |||
) |
Definition at line 25 of file class.ilIndividualAssessmentMemberGUI.php.
References $_GET, $DIC, and setTabs().
|
protected |
Show grading form to amend the result.
ilPropertyFormGUI | null | $form |
Definition at line 252 of file class.ilIndividualAssessmentMemberGUI.php.
References $form, fillForm(), getFileLinkHTML(), initGradingForm(), mayBeAmended(), and renderForm().
Referenced by saveAmend().
|
protected |
Cancel finalizing and get back to edit form.
Definition at line 240 of file class.ilIndividualAssessmentMemberGUI.php.
References edit().
|
private |
Definition at line 634 of file class.ilIndividualAssessmentMemberGUI.php.
References IL_CAL_DATETIME.
Referenced by updateDataInMemberByArray().
|
protected |
Definition at line 106 of file class.ilIndividualAssessmentMemberGUI.php.
References ilUtil\deliverFile(), mayBeAmended(), mayBeEdited(), and mayBeViewed().
|
protected |
Edit grading informations for user.
ilPropertyFormGUI | null | $form |
Definition at line 90 of file class.ilIndividualAssessmentMemberGUI.php.
References $form, fillForm(), initGradingForm(), mayBeEdited(), and renderForm().
Referenced by cancelFinalize(), finalizeConfirmation(), and save().
ilIndividualAssessmentMemberGUI::executeCommand | ( | ) |
Definition at line 47 of file class.ilIndividualAssessmentMemberGUI.php.
|
protected |
Definition at line 398 of file class.ilIndividualAssessmentMemberGUI.php.
Referenced by initGradingForm().
|
protected |
Fill form with current grading informations.
ilPropertyFormGUI | $a_form | |
ilIndividualAssessmentMember | $member |
Definition at line 411 of file class.ilIndividualAssessmentMemberGUI.php.
References array, ilIndividualAssessmentMember\eventTime(), getFileLinkHTML(), ilIndividualAssessmentMember\internalNote(), ilIndividualAssessmentMember\LPStatus(), ilIndividualAssessmentMember\name(), ilIndividualAssessmentMember\notify(), ilIndividualAssessmentMember\place(), ilIndividualAssessmentMember\record(), ilPropertyFormGUI\setValuesByArray(), and ilIndividualAssessmentMember\viewFile().
Referenced by amend(), edit(), and view().
|
protected |
Finalize the grading.
Definition at line 211 of file class.ilIndividualAssessmentMemberGUI.php.
References mayBeEdited(), object, redirect(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilIndividualAssessmentLPInterface\updateLPStatusOfMember().
|
protected |
Save grading informations and show confirmation form.
Definition at line 159 of file class.ilIndividualAssessmentMemberGUI.php.
References $_POST, $form, $post, array, edit(), initGradingForm(), mayBeEdited(), redirect(), saveMember(), ilUtil\sendFailure(), updateFileName(), and uploadFile().
|
protected |
Get link for backlink.
Definition at line 475 of file class.ilIndividualAssessmentMemberGUI.php.
References array.
Referenced by setTabs().
|
protected |
Render grading form into template.
ilPropertyFormGUI | $form |
Definition at line 432 of file class.ilIndividualAssessmentMemberGUI.php.
Referenced by amend(), fillForm(), and initGradingForm().
|
protected |
Inint form for gradings.
bool | $may_be_edite |
Definition at line 312 of file class.ilIndividualAssessmentMemberGUI.php.
References $file, $form, $title, $txt, array, fileUploaded(), getFileLinkHTML(), ilIndividualAssessmentMembers\LP_COMPLETED, ilIndividualAssessmentMembers\LP_FAILED, ilIndividualAssessmentMembers\LP_IN_PROGRESS, object, ilFormPropertyGUI\setDisabled(), ilFormPropertyGUI\setInfo(), ilSelectInputGUI\setOptions(), ilDateTimeInputGUI\setShowTime(), and ilNonEditableValueGUI\setValue().
Referenced by amend(), edit(), finalizeConfirmation(), save(), saveAmend(), and view().
|
protected |
Is grading finalized.
Definition at line 578 of file class.ilIndividualAssessmentMemberGUI.php.
Referenced by mayBeAmended(), mayBeEdited(), and mayBeViewed().
|
protected |
Grading may be edited by current user after finalization.
Definition at line 523 of file class.ilIndividualAssessmentMemberGUI.php.
References isFinalized(), and userMayAmend().
Referenced by amend(), downloadAttachment(), and saveAmend().
|
protected |
Grading may be edited by current user.
Definition at line 501 of file class.ilIndividualAssessmentMemberGUI.php.
References isFinalized(), and userMayGrade().
Referenced by downloadAttachment(), edit(), finalize(), finalizeConfirmation(), and save().
|
protected |
Content of grading may be viewes by current user.
Definition at line 512 of file class.ilIndividualAssessmentMemberGUI.php.
References isFinalized(), userMayGrade(), and userMayView().
Referenced by downloadAttachment(), and view().
|
protected |
Redirect to this with command.
string | $cmd |
Definition at line 491 of file class.ilIndividualAssessmentMemberGUI.php.
Referenced by finalize(), finalizeConfirmation(), save(), and saveAmend().
|
protected |
Render the form and put it into template.
ilPropertyFormGUI | $form |
Definition at line 451 of file class.ilIndividualAssessmentMemberGUI.php.
References ilPropertyFormGUI\getHTML().
Referenced by amend(), edit(), and view().
|
protected |
Save grading informations for user.
Definition at line 122 of file class.ilIndividualAssessmentMemberGUI.php.
References $_POST, $form, $post, array, edit(), initGradingForm(), mayBeEdited(), object, redirect(), saveMember(), ilUtil\sendSuccess(), updateFileName(), ilIndividualAssessmentLPInterface\updateLPStatusOfMember(), and uploadFile().
|
protected |
Save changes of grading result.
Definition at line 272 of file class.ilIndividualAssessmentMemberGUI.php.
References $_POST, $form, $post, amend(), array, initGradingForm(), mayBeAmended(), object, redirect(), saveMember(), ilUtil\sendSuccess(), updateFileName(), ilIndividualAssessmentLPInterface\updateLPStatusOfMember(), and uploadFile().
|
protected |
Save grading informations.
string[] | $post | |
bool | $keep_examiner |
Definition at line 591 of file class.ilIndividualAssessmentMemberGUI.php.
References updateDataInMemberByArray().
Referenced by finalizeConfirmation(), save(), and saveAmend().
|
protected |
Set tabs.
Definition at line 461 of file class.ilIndividualAssessmentMemberGUI.php.
References ilTabsGUI\clearTargets(), getBackLink(), and ilTabsGUI\setBackTarget().
Referenced by __construct().
|
protected |
Grading was edited by an other user.
Definition at line 567 of file class.ilIndividualAssessmentMemberGUI.php.
References ilIndividualAssessmentMember\examinerId().
Referenced by userMayGrade().
|
protected |
Updates member object with new grading informations.
ilIndividualAssessmentMember | $member | |
string[] | $data | |
bool | $keep_examiner |
Definition at line 606 of file class.ilIndividualAssessmentMemberGUI.php.
References $data, createDatetime(), ilIndividualAssessmentMember\withChangerId(), ilIndividualAssessmentMember\withEventTime(), ilIndividualAssessmentMember\withExaminerId(), ilIndividualAssessmentMember\withFileName(), ilIndividualAssessmentMember\withNotify(), and ilIndividualAssessmentMember\withRecord().
Referenced by saveMember().
|
protected |
Definition at line 652 of file class.ilIndividualAssessmentMemberGUI.php.
Referenced by finalizeConfirmation(), save(), and saveAmend().
|
protected |
Definition at line 639 of file class.ilIndividualAssessmentMemberGUI.php.
References $file.
Referenced by finalizeConfirmation(), save(), and saveAmend().
|
protected |
Current user has permission to amend grading.
Definition at line 556 of file class.ilIndividualAssessmentMemberGUI.php.
Referenced by mayBeAmended().
|
protected |
Current user has permission to edit learning progess.
Definition at line 534 of file class.ilIndividualAssessmentMemberGUI.php.
References targetWasEditedByOtherUser().
Referenced by mayBeEdited(), and mayBeViewed().
|
protected |
Current user has permission to read learning progress.
Definition at line 545 of file class.ilIndividualAssessmentMemberGUI.php.
Referenced by mayBeViewed().
|
protected |
View grading informations for user.
Definition at line 73 of file class.ilIndividualAssessmentMemberGUI.php.
References $form, fillForm(), initGradingForm(), mayBeViewed(), and renderForm().
|
protected |
Definition at line 23 of file class.ilIndividualAssessmentMemberGUI.php.