ILIAS  release_7 Revision v7.30-3-g800a261c036
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
11abstract class ilUserInterfaceHookPlugin extends ilPlugin
12{
13
17 final public function getComponentType()
18 {
19 return IL_COMP_SERVICE;
20 }
21
22
26 final public function getComponentName()
27 {
28 return "UIComponent";
29 }
30
31
35 final public function getSlot()
36 {
37 return "UserInterfaceHook";
38 }
39
40
44 final public function getSlotId()
45 {
46 return "uihk";
47 }
48
49
53 final protected function slotInit()
54 {
55 // nothing to do here
56 }
57
58
62 public function getUIClassInstance() : ilUIHookPluginGUI
63 {
67 $class = "il" . $this->getPluginName() . "UIHookGUI";
68 $this->includeClass("class." . $class . ".php");
69 $obj = new $class();
70 $obj->setPluginObject($this);
71
72 return $obj;
73 }
74}
An exception for terminatinating execution or to throw for unit testing.
const IL_COMP_SERVICE
Abstract Class ilPlugin.
includeClass($a_class_file_name)
Include (once) a class file.
getPluginName()
Get Plugin Name.
Class ilUIHookPluginGUI.
Class ilUserInterfaceHookPlugin.
slotInit()
Object initialization done by slot.