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