ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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(IL_COMP_MODULE, "OrgUnit", "orguext", ilPlugin::lookupNameForId(IL_COMP_SERVICE, "OrgUnit", "orguext", $this->getType()));
19  }
20 
21  return $this->plugin;
22  }
23 
24 
25  protected function initListActions()
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 
47  protected function isCommentsActivated($a_type, $a_ref_id, $a_obj_id, $a_header_actions, $a_check_write_access = true)
48  {
50  }
51 
52 
60  public function enableComments($a_value, $a_enable_comments_settings = true)
61  {
62  return false;
63  }
64 
65 
70  public function enableNotes($a_value)
71  {
72  return false;
73  }
74 
75 
80  public function enableTags($a_value)
81  {
82  return false;
83  }
84 }
static getPluginObject($a_ctype, $a_cname, $a_slot_id, $a_pname)
Get plugin object.
enableComments($a_value, $a_enable_comments_settings=true)
Comments cannot be enabled.
$a_type
Definition: workflow.php:92
Class ilOrgUnitExtensionListGUI.
static lookupNameForId($a_ctype, $a_cname, $a_slot_id, $a_plugin_id)
Lookup name for id.
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.
const IL_COMP_SERVICE