ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilObjIndividualAssessmentListGUI.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22{
23 public function init(): void
24 {
25 $this->static_link_enabled = true;
26 $this->delete_enabled = true;
27 $this->cut_enabled = true;
28 $this->copy_enabled = true;
29 $this->subscribe_enabled = true;
30 $this->link_enabled = true;
31 $this->info_screen_enabled = true;
32 $this->type = "iass";
33 $this->gui_class_name = "ilobjindividualassessmentgui";
34
35 $this->substitutions = ilAdvancedMDSubstitution::_getInstanceByObjectType($this->type);
36 $this->enableSubstitutions($this->substitutions->isActive());
37
38 // general commands array
40 }
41
49 public function getCommandFrame(string $cmd): string
50 {
51 return ilFrameTargetInfo::_getFrame("MainContent");
52 }
53
54 public function getCommandLink(string $cmd): string
55 {
56 switch ($cmd) {
57 case 'infoScreen':
58 $return = $this->ctrl->getLinkTargetByClass($this->gui_class_name, "view");
59 break;
60 default:
61 $return = parent::getCommandLink($cmd);
62 }
63
64 return $return;
65 }
66}
static _getInstanceByObjectType(string $a_type)
static _getFrame(string $a_class)
static _getCommands()
get commandsthis method returns an array of all possible commands/permission combinationsexample: $co...
getCommandFrame(string $cmd)
Get command target frame.
enableSubstitutions(bool $status)