ILIAS
eassessment Revision 61809
◀ 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
}
87
?>
Services
UIComponent
classes
class.ilUIHookPluginGUI.php
Generated on Mon Apr 25 2016 19:01:43 for ILIAS by
1.8.1.2 (using
Doxyfile
)