42         $this->
ctrl = $DIC->ctrl();
    44         $this->user_id = $a_user_id;
    45         $this->peer_data = $a_peer_data;
    52             $a_ass->
getTitle() . 
": " . $this->
lng->txt(
"exc_peer_review") .
    53                 " - " . $this->
lng->txt(
"exc_peer_review_give")
    56         if (!$this->ass->hasPeerReviewPersonalized()) {
    61             $this->
addColumn($this->
lng->txt(
"exc_peer_review_recipient"), 
"name");
    65         $this->
addColumn($this->
lng->txt(
"last_update"), 
"tstamp");
    69         $this->
setRowTemplate(
"tpl.exc_peer_review_row.html", 
"Modules/Exercise");
    75         if ($this->ass->hasPeerReviewFileUpload()) {
    76             $this->fstorage = 
new ilFSStorageExercise($this->ass->getExerciseId(), $this->ass->getId());
    90         $personal = $this->ass->hasPeerReviewPersonalized();
    92         foreach ($this->peer_data as $item) {
    99             $row[
"giver_id"] = $item[
"giver_id"];
   100             $row[
"peer_id"] = $item[
"peer_id"];
   101             $row[
"tstamp"] = $item[
"tstamp"];
   104                 $row[
"seq"] = $item[
"seq"];
   110             $row[
"valid"] = $all_empty = 
true;
   112             $values = $submission->getPeerReview()->getPeerReviewValues($item[
"giver_id"], $item[
"peer_id"]);
   113             foreach ($this->ass->getPeerReviewCriteriaCatalogueItems() as $crit) {
   114                 $crit_id = $crit->getId()
   117                 $crit->setPeerReviewContext(
   122                 if (!$crit->validate($values[$crit_id] ?? null)) {
   123                     $row[
"valid"] = 
false;
   125                 if ($crit->hasValue($values[$crit_id] ?? null)) {
   130                 $row[
"valid"] = 
false;
   132             if (!$row[
"valid"]) {
   144         return $a_field === 
"seq";
   150     protected function fillRow(array $a_set): void
   154         if (isset($a_set[
"seq"])) {
   155             $this->tpl->setVariable(
"VAL_SEQ", $a_set[
"seq"]);
   157             $this->tpl->setVariable(
"VAL_SEQ", $a_set[
"name"]);
   160         if ($a_set[
"tstamp"]) {
   163         $this->tpl->setVariable(
"VAL_TSTAMP", $a_set[
"tstamp"]);
   165         $this->tpl->setVariable(
   168             ? $this->
lng->txt(
"yes")
   169             : $this->
lng->txt(
"no")
   172         $ilCtrl->setParameter($this->parent_obj, 
"peer_id", $a_set[
"peer_id"]);
   173         $url = $ilCtrl->getLinkTarget($this->parent_obj, 
"editPeerReviewItem");
   174         $ilCtrl->setParameter($this->parent_obj, 
"pid", 
"");
   176         $this->tpl->setVariable(
"TXT_ACTION", $this->
lng->txt(
"edit"));
   177         $this->tpl->setVariable(
"URL_ACTION", 
$url);
 
numericOrdering(string $a_field)
 
static formatDate(ilDateTime $date, bool $a_skip_day=false, bool $a_include_wd=false, bool $include_seconds=false)
 
ilFSStorageExercise $fstorage
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
__construct(object $a_parent_obj, string $a_parent_cmd, ilExAssignment $a_ass, int $a_user_id, array $a_peer_data)
 
static getNamePresentation( $a_user_id, bool $a_user_image=false, bool $a_profile_link=false, string $a_profile_back_link='', bool $a_force_first_lastname=false, bool $a_omit_login=false, bool $a_sortable=true, bool $a_return_data_array=false, $a_ctrl_path='ilpublicuserprofilegui')
Default behaviour is: 
 
setDefaultOrderField(string $a_defaultorderfield)
 
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template. 
 
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
create()
Create directory. 
 
setLimit(int $a_limit=0, int $a_default_limit=0)
 
addColumn(string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
disable(string $a_module_name)
 
static _lookupType(int $id, bool $reference=false)