ILIAS  trunk Revision v11.0_alpha-1731-gff9cd7e2bd3
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ilObjMediaCastListGUI.php
Go to the documentation of this file.
1 <?php
2 
20 {
21  protected int $child_id;
22 
23  public function init(): void
24  {
25  $this->copy_enabled = true;
26  $this->delete_enabled = true;
27  $this->cut_enabled = true;
28  $this->subscribe_enabled = true;
29  $this->link_enabled = true;
30  $this->info_screen_enabled = true;
31  $this->type = "mcst";
32  $this->gui_class_name = "ilobjmediacastgui";
33 
34  // general commands array
35  $this->commands = ilObjMediaCastAccess::_getCommands();
36  }
37 
38  public function getCommandLink(string $cmd): string
39  {
40  $this->ctrl->setParameterByClass(ilObjMediaCastGUI::class, "ref_id", $this->ref_id);
41  $cmd_link = $this->ctrl->getLinkTargetByClass([ilMediaCastHandlerGUI::class, ilObjMediaCastGUI::class], $cmd);
42  return $cmd_link;
43  }
44 
45  public function setChildId(string $a_child_id): void
46  {
47  $this->child_id = $a_child_id;
48  }
49 
50  public function getChildId(): string
51  {
52  return $this->child_id;
53  }
54 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...