ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
class.ilOrgUnitExtensionListGUI.php
Go to the documentation of this file.
1 <?php
2 
3 require_once "Services/Repository/classes/class.ilObjectPluginListGUI.php";
4 
12 
16  protected function getPlugin() {
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  $this->delete_enabled = true;
27  $this->cut_enabled = true;
28  $this->subscribe_enabled = false;
29  $this->link_enabled = false;
30  $this->info_screen_enabled = true;
31  $this->comments_enabled = false;
32  $this->notes_enabled = false;
33  $this->tags_enabled = false;
34  $this->timings_enabled = false;
35  }
36 
37 
46  protected function isCommentsActivated($a_type, $a_ref_id, $a_obj_id, $a_header_actions, $a_check_write_access = true) {
48  }
49 
50 
58  public function enableComments($a_value, $a_enable_comments_settings = true) {
59  return false;
60  }
61 
62 
67  public function enableNotes($a_value) {
68  return false;
69  }
70 
71 
76  public function enableTags($a_value) {
77  return false;
78  }
79 }
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:93
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