ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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) | |
Static Public Member Functions | |
static | lookupGiversWithPendingFeedback ($a_ass_id) |
Protected Member Functions | |
getValidPeerReviewUsers () | |
initPeerReviews () | |
validatePeerReview (array $a_data) | |
getMaxPossibleFeedbacks () | |
Protected Attributes | |
$db | |
$user | |
$assignment | |
$assignment_id | |
Exercise peer review.
Definition at line 10 of file class.ilExPeerReview.php.
ilExPeerReview::__construct | ( | ilExAssignment | $a_assignment | ) |
Definition at line 25 of file class.ilExPeerReview.php.
References $DIC, ilExAssignment\getId(), and user().
ilExPeerReview::countGivenFeedback | ( | $a_validate = true , |
|
$a_user_id = null |
|||
) |
Definition at line 353 of file class.ilExPeerReview.php.
References $db, $ilDB, $ilUser, $row, $user, and validatePeerReview().
Referenced by getNumberOfMissingFeedbacksForReceived(), and isFeedbackValidForPassed().
ilExPeerReview::getAllPeerReviews | ( | $a_only_valid = true | ) |
Definition at line 291 of file class.ilExPeerReview.php.
References $db, $ilDB, $res, $row, $valid, and validatePeerReview().
Referenced by resetPeerReviews(), and validatePeerReviewGroups().
|
protected |
Definition at line 380 of file class.ilExPeerReview.php.
Referenced by getNumberOfMissingFeedbacksForReceived(), and isFeedbackValidForPassed().
ilExPeerReview::getNumberOfMissingFeedbacksForReceived | ( | ) |
Definition at line 393 of file class.ilExPeerReview.php.
References countGivenFeedback(), and getMaxPossibleFeedbacks().
ilExPeerReview::getPeerMaskedId | ( | $a_giver_id, | |
$a_peer_id | |||
) |
Definition at line 215 of file class.ilExPeerReview.php.
References getPeerReviewsByGiver().
ilExPeerReview::getPeerReviewsByGiver | ( | $a_user_id | ) |
Definition at line 193 of file class.ilExPeerReview.php.
References $db, $ilDB, $res, $row, and initPeerReviews().
Referenced by getPeerMaskedId(), and getPeerReviewValues().
ilExPeerReview::getPeerReviewsByPeerId | ( | $a_user_id, | |
$a_only_valid = false |
|||
) |
Definition at line 266 of file class.ilExPeerReview.php.
References $db, $ilDB, $res, $row, and validatePeerReview().
ilExPeerReview::getPeerReviewValues | ( | $a_giver_id, | |
$a_peer_id | |||
) |
Definition at line 171 of file class.ilExPeerReview.php.
References $data, and getPeerReviewsByGiver().
|
protected |
Definition at line 46 of file class.ilExPeerReview.php.
References $db, $ilDB, and $row.
Referenced by initPeerReviews(), and validatePeerReviewGroups().
ilExPeerReview::hasPeerReviewAccess | ( | $a_peer_id | ) |
ilExPeerReview::hasPeerReviewGroups | ( | ) |
Definition at line 35 of file class.ilExPeerReview.php.
Referenced by initPeerReviews(), resetPeerReviews(), and validatePeerReviewGroups().
|
protected |
Definition at line 64 of file class.ilExPeerReview.php.
References $db, $ilDB, getValidPeerReviewUsers(), and hasPeerReviewGroups().
Referenced by getPeerReviewsByGiver().
ilExPeerReview::isFeedbackValidForPassed | ( | $a_user_id | ) |
Definition at line 415 of file class.ilExPeerReview.php.
References countGivenFeedback(), getMaxPossibleFeedbacks(), ilExAssignment\PEER_REVIEW_VALID_ALL, ilExAssignment\PEER_REVIEW_VALID_NONE, and ilExAssignment\PEER_REVIEW_VALID_ONE.
|
static |
Definition at line 447 of file class.ilExPeerReview.php.
References $DIC, $ilDB, and $row.
Referenced by ilExAssignmentReminder\parsePeerReminders().
ilExPeerReview::resetPeerReviews | ( | ) |
Definition at line 92 of file class.ilExPeerReview.php.
References $db, $ilDB, getAllPeerReviews(), and hasPeerReviewGroups().
ilExPeerReview::updatePeerReview | ( | $a_peer_id, | |
array | $a_values | ||
) |
Definition at line 338 of file class.ilExPeerReview.php.
References $db, $ilDB, $ilUser, $user, and ilUtil\now().
ilExPeerReview::updatePeerReviewTimestamp | ( | $a_peer_id | ) |
Definition at line 326 of file class.ilExPeerReview.php.
References $db, $ilDB, $ilUser, $user, and ilUtil\now().
|
protected |
Definition at line 224 of file class.ilExPeerReview.php.
References $data, and $values.
Referenced by countGivenFeedback(), getAllPeerReviews(), and getPeerReviewsByPeerId().
ilExPeerReview::validatePeerReviewGroups | ( | ) |
Definition at line 118 of file class.ilExPeerReview.php.
References $valid, ilExerciseMembers\_getMembers(), getAllPeerReviews(), getValidPeerReviewUsers(), and hasPeerReviewGroups().
|
protected |
Definition at line 22 of file class.ilExPeerReview.php.
|
protected |
Definition at line 23 of file class.ilExPeerReview.php.
|
protected |
Definition at line 15 of file class.ilExPeerReview.php.
Referenced by countGivenFeedback(), getAllPeerReviews(), getMaxPossibleFeedbacks(), getPeerReviewsByGiver(), getPeerReviewsByPeerId(), getValidPeerReviewUsers(), hasPeerReviewAccess(), hasPeerReviewGroups(), initPeerReviews(), resetPeerReviews(), updatePeerReview(), and updatePeerReviewTimestamp().
|
protected |
Definition at line 20 of file class.ilExPeerReview.php.
Referenced by countGivenFeedback(), hasPeerReviewAccess(), updatePeerReview(), and updatePeerReviewTimestamp().