ILIAS
release_4-4 Revision
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
+
Files
File List
+
Globals
+
All
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
x
+
Variables
$
(
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilPageComponentPlugin.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5
include_once(
"./Services/Component/classes/class.ilPlugin.php"
);
6
15
abstract
class
ilPageComponentPlugin
extends
ilPlugin
16
{
17
const
TXT_CMD_INSERT
=
"cmd_insert"
;
18
const
CMD_INSERT
=
"insert"
;
19
const
CMD_EDIT
=
"edit"
;
20
26
final
function
getComponentType
()
27
{
28
return
IL_COMP_SERVICE
;
29
}
30
36
final
function
getComponentName
()
37
{
38
return
"COPage"
;
39
}
40
46
final
function
getSlot
()
47
{
48
return
"PageComponent"
;
49
}
50
56
final
function
getSlotId
()
57
{
58
return
"pgcp"
;
59
}
60
64
protected
final
function
slotInit
()
65
{
66
// nothing to do here
67
}
68
77
abstract
function
isValidParentType
($a_type);
78
82
function
getJavascripFiles
()
83
{
84
return
array();
85
}
86
90
function
getCssFiles
()
91
{
92
return
array();
93
}
94
100
final
function
setMode
($a_mode)
101
{
102
$this->mode = $a_mode;
103
}
104
110
final
function
getMode
()
111
{
112
return
$this->mode;
113
}
114
118
function
getUIClassInstance
()
119
{
120
$class =
"il"
.$this->getPluginName().
"PluginGUI"
;
121
$this->
includeClass
(
"class."
.$class.
".php"
);
122
$obj =
new
$class();
123
$obj->setPlugin($this);
124
return
$obj;
125
}
126
127
}
128
?>
ilPageComponentPlugin\CMD_EDIT
const CMD_EDIT
Definition:
class.ilPageComponentPlugin.php:19
ilPageComponentPlugin\getComponentName
getComponentName()
Get Component Name.
Definition:
class.ilPageComponentPlugin.php:36
ilPlugin\includeClass
includeClass($a_class_file_name)
Include (once) a class file.
Definition:
class.ilPlugin.php:293
ilPageComponentPlugin\setMode
setMode($a_mode)
Set Mode.
Definition:
class.ilPageComponentPlugin.php:100
ilPageComponentPlugin\getComponentType
getComponentType()
Get Component Type.
Definition:
class.ilPageComponentPlugin.php:26
ilPageComponentPlugin\getSlotId
getSlotId()
Get Slot ID.
Definition:
class.ilPageComponentPlugin.php:56
ilPageComponentPlugin\getSlot
getSlot()
Get Slot Name.
Definition:
class.ilPageComponentPlugin.php:46
ilPlugin
Definition:
class.ilPlugin.php:16
ilPageComponentPlugin\slotInit
slotInit()
Object initialization done by slot.
Definition:
class.ilPageComponentPlugin.php:64
ilPageComponentPlugin\TXT_CMD_INSERT
const TXT_CMD_INSERT
Definition:
class.ilPageComponentPlugin.php:17
ilPageComponentPlugin\CMD_INSERT
const CMD_INSERT
Definition:
class.ilPageComponentPlugin.php:18
ilPageComponentPlugin\getUIClassInstance
getUIClassInstance()
Get UI plugin class.
Definition:
class.ilPageComponentPlugin.php:118
ilPageComponentPlugin
Abstract parent class for all page component plugin classes.
Definition:
class.ilPageComponentPlugin.php:15
ilPageComponentPlugin\getJavascripFiles
getJavascripFiles()
Get Javascript files.
Definition:
class.ilPageComponentPlugin.php:82
ilPageComponentPlugin\getMode
getMode()
Get Mode.
Definition:
class.ilPageComponentPlugin.php:110
ilPageComponentPlugin\getCssFiles
getCssFiles()
Get css files.
Definition:
class.ilPageComponentPlugin.php:90
IL_COMP_SERVICE
const IL_COMP_SERVICE
Definition:
class.ilComponent.php:6
ilPageComponentPlugin\isValidParentType
isValidParentType($a_type)
Determines the resources that allow to include the new content component.
Services
COPage
classes
class.ilPageComponentPlugin.php
Generated on Mon Dec 21 2020 19:01:12 for ILIAS by
1.8.13 (using
Doxyfile
)