ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Exercise peer review. More...
Public Member Functions | |
__construct (ilExAssignment $a_assignment) | |
hasPeerReviewGroups () | |
resetPeerReviews () | |
validatePeerReviewGroups () | |
getPeerReviewValues ($a_giver_id, $a_peer_id) | |
getPeerReviewsByGiver ($a_user_id) | |
getPeerMaskedId ($a_giver_id, $a_peer_id) | |
getPeerReviewsByPeerId ($a_user_id, $a_only_valid=false) | |
getAllPeerReviews ($a_only_valid=true) | |
hasPeerReviewAccess ($a_peer_id) | |
updatePeerReviewTimestamp ($a_peer_id) | |
updatePeerReview ($a_peer_id, array $a_values) | |
countGivenFeedback ($a_validate=true, $a_user_id=null) | |
getNumberOfMissingFeedbacksForReceived () | |
isFeedbackValidForPassed ($a_user_id) | |
Protected Member Functions | |
getValidPeerReviewUsers () | |
initPeerReviews () | |
validatePeerReview (array $a_data) | |
getMaxPossibleFeedbacks () | |
Protected Attributes | |
$assignment | |
$assignment_id | |
Exercise peer review.
Definition at line 10 of file class.ilExPeerReview.php.
ilExPeerReview::__construct | ( | ilExAssignment | $a_assignment | ) |
Definition at line 15 of file class.ilExPeerReview.php.
References ilExAssignment\getId().
ilExPeerReview::countGivenFeedback | ( | $a_validate = true , |
|
$a_user_id = null |
|||
) |
Definition at line 435 of file class.ilExPeerReview.php.
References $ilDB, $ilUser, $row, and validatePeerReview().
Referenced by getNumberOfMissingFeedbacksForReceived(), and isFeedbackValidForPassed().
ilExPeerReview::getAllPeerReviews | ( | $a_only_valid = true | ) |
Definition at line 374 of file class.ilExPeerReview.php.
References $ilDB, $res, $row, $valid, array, and validatePeerReview().
Referenced by resetPeerReviews(), and validatePeerReviewGroups().
|
protected |
Definition at line 464 of file class.ilExPeerReview.php.
References $ilDB.
Referenced by getNumberOfMissingFeedbacksForReceived(), and isFeedbackValidForPassed().
ilExPeerReview::getNumberOfMissingFeedbacksForReceived | ( | ) |
Definition at line 477 of file class.ilExPeerReview.php.
References countGivenFeedback(), and getMaxPossibleFeedbacks().
ilExPeerReview::getPeerMaskedId | ( | $a_giver_id, | |
$a_peer_id | |||
) |
Definition at line 289 of file class.ilExPeerReview.php.
References getPeerReviewsByGiver().
ilExPeerReview::getPeerReviewsByGiver | ( | $a_user_id | ) |
Definition at line 265 of file class.ilExPeerReview.php.
References $ilDB, $res, $row, array, and initPeerReviews().
Referenced by getPeerMaskedId(), and getPeerReviewValues().
ilExPeerReview::getPeerReviewsByPeerId | ( | $a_user_id, | |
$a_only_valid = false |
|||
) |
Definition at line 347 of file class.ilExPeerReview.php.
References $ilDB, $res, $row, array, and validatePeerReview().
ilExPeerReview::getPeerReviewValues | ( | $a_giver_id, | |
$a_peer_id | |||
) |
Definition at line 238 of file class.ilExPeerReview.php.
References $data, array, and getPeerReviewsByGiver().
|
protected |
Definition at line 32 of file class.ilExPeerReview.php.
References $ilDB, $row, and array.
Referenced by initPeerReviews(), and validatePeerReviewGroups().
ilExPeerReview::hasPeerReviewAccess | ( | $a_peer_id | ) |
ilExPeerReview::hasPeerReviewGroups | ( | ) |
Definition at line 21 of file class.ilExPeerReview.php.
References $ilDB.
Referenced by initPeerReviews(), resetPeerReviews(), and validatePeerReviewGroups().
|
protected |
Definition at line 51 of file class.ilExPeerReview.php.
References $ilDB, array, getValidPeerReviewUsers(), and hasPeerReviewGroups().
Referenced by getPeerReviewsByGiver().
ilExPeerReview::isFeedbackValidForPassed | ( | $a_user_id | ) |
Definition at line 503 of file class.ilExPeerReview.php.
References countGivenFeedback(), getMaxPossibleFeedbacks(), ilExAssignment\PEER_REVIEW_VALID_ALL, ilExAssignment\PEER_REVIEW_VALID_NONE, and ilExAssignment\PEER_REVIEW_VALID_ONE.
ilExPeerReview::resetPeerReviews | ( | ) |
Definition at line 144 of file class.ilExPeerReview.php.
References $ilDB, array, getAllPeerReviews(), and hasPeerReviewGroups().
ilExPeerReview::updatePeerReview | ( | $a_peer_id, | |
array | $a_values | ||
) |
Definition at line 421 of file class.ilExPeerReview.php.
References $ilDB, $ilUser, and ilUtil\now().
ilExPeerReview::updatePeerReviewTimestamp | ( | $a_peer_id | ) |
Definition at line 410 of file class.ilExPeerReview.php.
References $ilDB, $ilUser, and ilUtil\now().
|
protected |
Definition at line 300 of file class.ilExPeerReview.php.
Referenced by countGivenFeedback(), getAllPeerReviews(), and getPeerReviewsByPeerId().
ilExPeerReview::validatePeerReviewGroups | ( | ) |
Definition at line 174 of file class.ilExPeerReview.php.
References $valid, ilExerciseMembers\_getMembers(), array, getAllPeerReviews(), getValidPeerReviewUsers(), and hasPeerReviewGroups().
|
protected |
Definition at line 12 of file class.ilExPeerReview.php.
|
protected |
Definition at line 13 of file class.ilExPeerReview.php.