37         $this->
ctrl = $DIC->ctrl();
    38         $ilCtrl = $DIC->ctrl();
    46         $this->
addColumn($this->
lng->txt(
"exc_peer_review_recipient"), 
"recipient");
    47         $this->
addColumn($this->
lng->txt(
"exc_peer_review_giver"), 
"giver");
    52         $this->
setRowTemplate(
"tpl.exc_peer_review_overview_row.html", 
"Modules/Exercise");
    53         $this->
setFormAction($ilCtrl->getFormAction($a_parent_obj, $a_parent_cmd));
    61         $this->
addCommandButton(
"confirmResetPeerReview", $this->
lng->txt(
"exc_peer_review_reset"));
    69         foreach (array_unique($a_user_ids) as $user_id) {
    86         $tmp = $peer_review->validatePeerReviewGroups();
    88         if (!is_array($tmp)) {
    92         foreach ($tmp[
"reviews"] as $peer_id => $reviews) {
    95             foreach ($reviews as $giver_id => $status) {
    96                 $data[] = array(
"recipient" => $peer,
    98                     "status" => ($status ? $this->
lng->txt(
"valid") : 
""));
   102         if ($tmp[
"missing_user_ids"]) {
   103             $this->panel_info[] = array(
   104                 "title" => $this->
lng->txt(
"exc_peer_review_missing_users"),
   109         if ($tmp[
"not_returned_ids"]) {
   110             $this->panel_info[] = array(
   111                 "title" => $this->
lng->txt(
"exc_peer_review_not_returned_users"),
   116         if ($tmp[
"invalid_peer_ids"]) {
   117             $this->panel_info[] = array(
   118                 "title" => $this->
lng->txt(
"exc_peer_review_invalid_peer_ids"),
   123         if ($tmp[
"invalid_giver_ids"]) {
   124             $this->panel_info[] = array(
   125                 "title" => $this->
lng->txt(
"exc_peer_review_invalid_giver_ids"),
   133     protected function fillRow(array $a_set): void
   135         $this->tpl->setVariable(
"PEER", $a_set[
"recipient"]);
   136         $this->tpl->setVariable(
"GIVER", $a_set[
"giver"]);
   137         $this->tpl->setVariable(
"STATUS", $a_set[
"status"]);
 
setFormAction(string $a_form_action, bool $a_multipart=false)
 
addCommandButton(string $a_cmd, string $a_text, string $a_onclick='', string $a_id="", string $a_class="")
 
translateUserIds(array $a_user_ids)
 
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. 
 
__construct(object $a_parent_obj, string $a_parent_cmd, ilExAssignment $a_ass)
 
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...
 
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)
 
disable(string $a_module_name)