ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ilObjTalkTemplateListGUI.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 {
26  public function init(): void
27  {
28  parent::init();
29 
30  $this->static_link_enabled = true;
31  $this->delete_enabled = true;
32  $this->cut_enabled = false;
33  $this->info_screen_enabled = true;
34  $this->copy_enabled = false;
35  $this->subscribe_enabled = false;
36  $this->link_enabled = false;
37 
38  $this->type = "talt";
39  $this->gui_class_name = strtolower(ilObjTalkTemplateGUI::class);
40  $this->commands = ilObjTalkTemplateAccess::_getCommands();
41  }
42 
46  public function insertTimingsCommand(): void
47  {
48  }
49 
54  public function insertCommonSocialCommands(bool $header_actions = false): void
55  {
56  }
57 
63  public function getCommandLink(string $cmd): string
64  {
65  $this->ctrl->setParameterByClass(strtolower(ilObjTalkTemplateGUI::class), 'ref_id', $this->ref_id);
66  $link = $this->ctrl->getLinkTargetByClass(strtolower(ilObjTalkTemplateGUI::class), $cmd);
67  $this->ctrl->clearParameterByClass(strtolower(ilObjTalkTemplateGUI::class), 'ref_id');
68  return $link;
69  }
70 }
insertTimingsCommand()
no timing commands needed in orgunits.
insertCommonSocialCommands(bool $header_actions=false)
no social commands needed in orgunits.