|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Exercise peer review. More...
Collaboration diagram for ilExPeerReview:Public Member Functions | |
| __construct (ilExAssignment $a_assignment) | |
| hasPeerReviewGroups () | |
| getReviewId (int $giver_id, int $peer_id) | |
| initPeerReviews () | |
| resetPeerReviews () | |
| validatePeerReviewGroups () | |
| getPeerReviewValues (int $a_giver_id, int $a_peer_id) | |
| getPeerReviewsByGiver (int $a_user_id) | |
| getPeerMaskedId (int $a_giver_id, int $a_peer_id) | |
| getPeerReviewsByPeerId (int $a_user_id, bool $a_only_valid=false) | |
| countReceivedFeedbacks (int $user_id, bool $only_valid=true) | |
| getAllPeerReviews (bool $a_only_valid=true) | |
| hasPeerReviewAccess (int $a_peer_id) | |
| updatePeerReviewTimestamp (int $a_peer_id) | |
| updatePeerReview (int $a_peer_id, array $a_values) | |
| countGivenFeedback (bool $a_validate=true, int $a_user_id=null) | |
| getNumberOfMissingFeedbacksForReceived () | |
| isFeedbackValidForPassed (int $a_user_id) | |
Static Public Member Functions | |
| static | lookupGiversWithPendingFeedback (int $a_ass_id) |
Protected Member Functions | |
| getValidPeerReviewUsers () | |
| validatePeerReview (array $a_data) | |
| getMaxPossibleFeedbacks () | |
Protected Attributes | |
| ilDBInterface | $db |
| ilObjUser | $user |
| ilExAssignment | $assignment |
| int | $assignment_id |
| ilLogger | $log |
Exercise peer review.
Definition at line 27 of file class.ilExPeerReview.php.
| ilExPeerReview::__construct | ( | ilExAssignment | $a_assignment | ) |
Definition at line 35 of file class.ilExPeerReview.php.
References $DIC, ilExAssignment\getId(), ilLoggerFactory\getLogger(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilExPeerReview::countGivenFeedback | ( | bool | $a_validate = true, |
| int | $a_user_id = null |
||
| ) |
Definition at line 408 of file class.ilExPeerReview.php.
References $db, $ilDB, $user, ilObject\getId(), and validatePeerReview().
Referenced by getNumberOfMissingFeedbacksForReceived(), and isFeedbackValidForPassed().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExPeerReview::countReceivedFeedbacks | ( | int | $user_id, |
| bool | $only_valid = true |
||
| ) |
Definition at line 326 of file class.ilExPeerReview.php.
References getPeerReviewsByPeerId().
Here is the call graph for this function:| ilExPeerReview::getAllPeerReviews | ( | bool | $a_only_valid = true | ) |
Definition at line 333 of file class.ilExPeerReview.php.
References $db, $ilDB, $res, $valid, and validatePeerReview().
Referenced by resetPeerReviews(), and validatePeerReviewGroups().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 435 of file class.ilExPeerReview.php.
References $db, $ilDB, and ILIAS\Repository\int().
Referenced by getNumberOfMissingFeedbacksForReceived(), and isFeedbackValidForPassed().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExPeerReview::getNumberOfMissingFeedbacksForReceived | ( | ) |
Definition at line 448 of file class.ilExPeerReview.php.
References countGivenFeedback(), and getMaxPossibleFeedbacks().
Here is the call graph for this function:| ilExPeerReview::getPeerMaskedId | ( | int | $a_giver_id, |
| int | $a_peer_id | ||
| ) |
Definition at line 250 of file class.ilExPeerReview.php.
References getPeerReviewsByGiver().
Here is the call graph for this function:| ilExPeerReview::getPeerReviewsByGiver | ( | int | $a_user_id | ) |
Definition at line 228 of file class.ilExPeerReview.php.
References $db, $ilDB, $res, and initPeerReviews().
Referenced by getPeerMaskedId(), and getPeerReviewValues().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExPeerReview::getPeerReviewsByPeerId | ( | int | $a_user_id, |
| bool | $a_only_valid = false |
||
| ) |
Definition at line 299 of file class.ilExPeerReview.php.
References $db, $ilDB, $res, and validatePeerReview().
Referenced by countReceivedFeedbacks().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExPeerReview::getPeerReviewValues | ( | int | $a_giver_id, |
| int | $a_peer_id | ||
| ) |
Definition at line 203 of file class.ilExPeerReview.php.
References $data, and getPeerReviewsByGiver().
Here is the call graph for this function:| ilExPeerReview::getReviewId | ( | int | $giver_id, |
| int | $peer_id | ||
| ) |
Definition at line 58 of file class.ilExPeerReview.php.
|
protected |
Definition at line 73 of file class.ilExPeerReview.php.
References $db, $ilDB, and ILIAS\Repository\int().
Referenced by initPeerReviews(), and validatePeerReviewGroups().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExPeerReview::hasPeerReviewAccess | ( | int | $a_peer_id | ) |
| ilExPeerReview::hasPeerReviewGroups | ( | ) |
Definition at line 47 of file class.ilExPeerReview.php.
Referenced by initPeerReviews(), resetPeerReviews(), and validatePeerReviewGroups().
Here is the caller graph for this function:| ilExPeerReview::initPeerReviews | ( | ) |
Definition at line 91 of file class.ilExPeerReview.php.
References $db, $ilDB, getValidPeerReviewUsers(), and hasPeerReviewGroups().
Referenced by getPeerReviewsByGiver().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExPeerReview::isFeedbackValidForPassed | ( | int | $a_user_id | ) |
Definition at line 470 of file class.ilExPeerReview.php.
References countGivenFeedback(), getMaxPossibleFeedbacks(), ilExAssignment\PEER_REVIEW_VALID_ALL, ilExAssignment\PEER_REVIEW_VALID_NONE, and ilExAssignment\PEER_REVIEW_VALID_ONE.
Here is the call graph for this function:
|
static |
Definition at line 503 of file class.ilExPeerReview.php.
Referenced by ilExAssignmentReminder\parsePeerReminders().
Here is the caller graph for this function:| ilExPeerReview::resetPeerReviews | ( | ) |
Definition at line 123 of file class.ilExPeerReview.php.
References $db, $ilDB, getAllPeerReviews(), and hasPeerReviewGroups().
Here is the call graph for this function:| ilExPeerReview::updatePeerReview | ( | int | $a_peer_id, |
| array | $a_values | ||
| ) |
Definition at line 383 of file class.ilExPeerReview.php.
References $data, $db, $ilDB, $user, $valid, ilUtil\now(), and validatePeerReview().
Here is the call graph for this function:| ilExPeerReview::updatePeerReviewTimestamp | ( | int | $a_peer_id | ) |
Definition at line 370 of file class.ilExPeerReview.php.
References $db, $ilDB, $user, and ilUtil\now().
Here is the call graph for this function:
|
protected |
Definition at line 262 of file class.ilExPeerReview.php.
References $data, and Vendor\Package\$e.
Referenced by countGivenFeedback(), getAllPeerReviews(), getPeerReviewsByPeerId(), and updatePeerReview().
Here is the caller graph for this function:| ilExPeerReview::validatePeerReviewGroups | ( | ) |
Definition at line 149 of file class.ilExPeerReview.php.
References $valid, ilExerciseMembers\_getMembers(), getAllPeerReviews(), getValidPeerReviewUsers(), and hasPeerReviewGroups().
Here is the call graph for this function:
|
protected |
Definition at line 31 of file class.ilExPeerReview.php.
|
protected |
Definition at line 32 of file class.ilExPeerReview.php.
|
protected |
Definition at line 29 of file class.ilExPeerReview.php.
Referenced by countGivenFeedback(), getAllPeerReviews(), getMaxPossibleFeedbacks(), getPeerReviewsByGiver(), getPeerReviewsByPeerId(), getValidPeerReviewUsers(), hasPeerReviewAccess(), hasPeerReviewGroups(), initPeerReviews(), resetPeerReviews(), updatePeerReview(), and updatePeerReviewTimestamp().
|
protected |
Definition at line 33 of file class.ilExPeerReview.php.
|
protected |
Definition at line 30 of file class.ilExPeerReview.php.
Referenced by countGivenFeedback(), hasPeerReviewAccess(), updatePeerReview(), and updatePeerReviewTimestamp().