ILIAS  trunk Revision v11.0_alpha-1753-gb21ca8c4367
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ilObjIndividualAssessmentListGUI.php
Go to the documentation of this file.
1 <?php
2 
19 declare(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 }
enableSubstitutions(bool $status)
getCommandFrame(string $cmd)
Get command target frame.
static _getFrame(string $a_class)
static _getInstanceByObjectType(string $a_type)