19declare(strict_types=1);
34 protected int $cat_id,
41 protected function getId(): string
43 return 'exc_criteria_' . $this->cat_id;
48 return $this->domain->lng()->txt(
'exc_criterias');
53 return $this->domain->peerReview()->criteriaRetrieval($this->cat_id);
64 'id' => $data_row[
'id'],
65 'title' => $data_row[
'title'],
66 'type' => $data_row[
'type']
72 $lng = $this->domain->lng();
76 ->textColumn(
'type',
$lng->txt(
'type'))
77 ->singleRedirectAction(
80 [\ilExcCriteriaGUI::class],
84 ->multiAction(
'confirmDeletion',
$lng->txt(
'delete'));
Exercise UI frontend presentation service class.
build(TableAdapterGUI $table)
__construct(protected InternalDomainService $domain, protected InternalGUIService $gui, protected int $cat_id, object $parent_gui, string $parent_cmd)
transformRow(array $data_row)
transform raw data array to table row data array
textColumn(string $key, string $title, bool $sortable=false)
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc