ILIAS
Release_5_0_x_branch Revision 61816
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
class.ilUIHookPluginGUI.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
12
class
ilUIHookPluginGUI
13
{
14
protected
$plugin_object
= null;
15
16
const
UNSPECIFIED
=
""
;
17
const
KEEP
=
""
;
18
const
REPLACE
=
"r"
;
19
const
APPEND
=
"a"
;
20
const
PREPEND
=
"p"
;
21
27
final
function
setPluginObject
($a_val)
28
{
29
$this->plugin_object = $a_val;
30
}
31
37
final
function
getPluginObject
()
38
{
39
return
$this->plugin_object
;
40
}
41
48
function
getHTML
($a_comp, $a_part, $a_par = array())
49
{
50
return
array(
"mode"
=>
ilUIHookPluginGUI::KEEP
,
"html"
=>
""
);
51
}
52
59
function
modifyGUI
($a_comp, $a_part, $a_par = array())
60
{
61
}
62
70
final
function
modifyHTML
($a_def_html, $a_resp)
71
{
72
switch
($a_resp[
"mode"
])
73
{
74
case
ilUIHookPluginGUI::REPLACE
:
75
$a_def_html = $a_resp[
"html"
];
76
break
;
77
case
ilUIHookPluginGUI::APPEND
:
78
$a_def_html.= $a_resp[
"html"
];
79
break
;
80
case
ilUIHookPluginGUI::PREPEND
:
81
$a_def_html = $a_resp[
"html"
].$a_def_html;
82
break
;
83
}
84
return
$a_def_html;
85
}
86
92
function
gotoHook
()
93
{
94
}
95
101
function
checkGotoHook
()
102
{
103
return
array(
"target"
=>
false
);
104
}
105
106
}
107
?>
Services
UIComponent
classes
class.ilUIHookPluginGUI.php
Generated on Wed Apr 27 2016 21:02:12 for ILIAS by
1.8.1.2 (using
Doxyfile
)