ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
class.ilOrgUnitExtensionListGUI.php
Go to the documentation of this file.
1<?php
2
10{
11
15 protected function getPlugin()
16 {
17 if (!$this->plugin) {
18 $this->plugin = ilPlugin::getPluginObject(
20 "OrgUnit",
21 "orguext",
24 "OrgUnit",
25 "orguext",
26 $this->getType()
27 )
28 );
29 }
30
31 return $this->plugin;
32 }
33
34
35 protected function initListActions()
36 {
37 $this->delete_enabled = true;
38 $this->cut_enabled = true;
39 $this->subscribe_enabled = false;
40 $this->link_enabled = false;
41 $this->info_screen_enabled = true;
42 $this->comments_enabled = false;
43 $this->notes_enabled = false;
44 $this->tags_enabled = false;
45 $this->timings_enabled = false;
46 }
47
48
58 protected function isCommentsActivated($a_type, $a_ref_id, $a_obj_id, $a_header_actions, $a_check_write_access = true)
59 {
61 }
62
63
72 public function enableComments($a_value, $a_enable_comments_settings = true)
73 {
74 return false;
75 }
76
77
83 public function enableNotes($a_value)
84 {
85 return false;
86 }
87
88
94 public function enableTags($a_value)
95 {
96 return false;
97 }
98}
An exception for terminatinating execution or to throw for unit testing.
const IL_COMP_MODULE
ListGUI implementation for Example object plugin.
Class ilOrgUnitExtensionListGUI.
isCommentsActivated($a_type, $a_ref_id, $a_obj_id, $a_header_actions, $a_check_write_access=true)
enableComments($a_value, $a_enable_comments_settings=true)
Comments cannot be enabled.
static lookupNameForId(string $a_ctype, string $a_cname, string $a_slot_id, string $a_plugin_id)
static getPluginObject(string $a_ctype, string $a_cname, string $a_slot_id, string $a_pname)
$a_type
Definition: workflow.php:92