ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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 
57  protected function isCommentsActivated($a_type, $a_ref_id, $a_obj_id, $a_header_actions, $a_check_write_access = true)
58  {
60  }
61 
62 
70  public function enableComments($a_value, $a_enable_comments_settings = true)
71  {
72  return false;
73  }
74 
75 
80  public function enableNotes($a_value)
81  {
82  return false;
83  }
84 
85 
90  public function enableTags($a_value)
91  {
92  return false;
93  }
94 }
static getPluginObject(string $a_ctype, string $a_cname, string $a_slot_id, string $a_pname)
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)
$a_type
Definition: workflow.php:92
Class ilOrgUnitExtensionListGUI.
const IL_COMP_MODULE
isCommentsActivated($a_type, $a_ref_id, $a_obj_id, $a_header_actions, $a_check_write_access=true)
ListGUI implementation for Example object plugin.