ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilObjEmployeeTalkListGUI.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
30{
34 public function init(): void
35 {
37
38 $this->static_link_enabled = true;
39 $this->delete_enabled = true;
40 $this->cut_enabled = false;
41 $this->info_screen_enabled = false;
42 $this->copy_enabled = false;
43 $this->subscribe_enabled = false;
44 $this->link_enabled = false;
45
46 $this->type = "talt";
47 $this->gui_class_name = strtolower(ilObjEmployeeTalkGUI::class);
48 $this->commands = ilObjEmployeeTalkAccess::_getCommands();
49 }
50
51 public function insertTimingsCommand(): void
52 {
53 }
54
55 public function insertCommonSocialCommands($header_actions = false): void
56 {
57 }
58
59 public function getCommandLink(string $cmd): string
60 {
61 $this->ctrl->setParameterByClass(strtolower(ilObjEmployeeTalkGUI::class), "ref_id", $this->ref_id);
62 return $this->ctrl->getLinkTargetByClass(strtolower(ilObjEmployeeTalkGUI::class), $cmd);
63 }
64}
insertCommonSocialCommands($header_actions=false)
getCommandLink(string $cmd)
Get command link url.
insertTimingsCommand()
ks, 23 OCT 2023: This function is badly named and it already was before the changes made today.