ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilUserInterfaceHookPlugin.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
4 
5 include_once("./Services/Component/classes/class.ilPlugin.php");
6 
14 abstract class ilUserInterfaceHookPlugin extends ilPlugin
15 {
21  final public function getComponentType()
22  {
23  return IL_COMP_SERVICE;
24  }
25 
31  final public function getComponentName()
32  {
33  return "UIComponent";
34  }
35 
41  final public function getSlot()
42  {
43  return "UserInterfaceHook";
44  }
45 
51  final public function getSlotId()
52  {
53  return "uihk";
54  }
55 
59  final protected function slotInit()
60  {
61  // nothing to do here
62  }
63 
67  public function getUIClassInstance()
68  {
69  $class = "il" . $this->getPluginName() . "UIHookGUI";
70  $this->includeClass("class." . $class . ".php");
71  $obj = new $class();
72  $obj->setPluginObject($this);
73  return $obj;
74  }
75 }
includeClass($a_class_file_name)
Include (once) a class file.
getPluginName()
Get Plugin Name.
const IL_COMP_SERVICE
slotInit()
Object initialization done by slot.