ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilOrgUnitExtensionListGUI.php
Go to the documentation of this file.
1<?php
2
24{
25 protected function initListActions(): void
26 {
27 $this->delete_enabled = true;
28 $this->cut_enabled = true;
29 $this->subscribe_enabled = false;
30 $this->link_enabled = false;
31 $this->info_screen_enabled = true;
32 $this->comments_enabled = false;
33 $this->notes_enabled = false;
34 $this->tags_enabled = false;
35 $this->timings_enabled = false;
36 }
37
38 protected function isCommentsActivated(
39 string $type,
40 int $ref_id,
41 int $obj_id,
42 bool $header_actions,
43 bool $check_write_access = true
44 ): bool {
45 return $this->comments_enabled;
46 }
47
51 public function enableComments(bool $value, bool $enable_comments_settings = true): void
52 {
53 }
54
55 public function enableNotes(bool $value): void
56 {
57 }
58
59 public function enableTags(bool $value): void
60 {
61 }
62}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
enableComments(bool $value, bool $enable_comments_settings=true)
Comments cannot be enabled.
isCommentsActivated(string $type, int $ref_id, int $obj_id, bool $header_actions, bool $check_write_access=true)
Check comments status against comments settings and context.
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...