ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilOrgUnitExtensionPlugin.php
Go to the documentation of this file.
1
<?
php
2
3
9
abstract
class
ilOrgUnitExtensionPlugin
extends
ilRepositoryObjectPlugin
10
{
11
17
final
public
function
getComponentType
()
18
{
19
return
IL_COMP_MODULE
;
20
}
21
22
28
final
public
function
getComponentName
()
29
{
30
return
'OrgUnit'
;
31
}
32
33
39
final
public
function
getSlot
()
40
{
41
return
'OrgUnitExtension'
;
42
}
43
44
50
final
public
function
getSlotId
()
51
{
52
return
'orguext'
;
53
}
54
55
59
final
protected
function
slotInit
()
60
{
61
// nothing to do here
62
}
63
64
68
public
function
getParentTypes
()
69
{
70
$par_types = array(
"orgu"
);
71
72
return
$par_types;
73
}
74
75
81
public
static
function
_getIcon
(
$a_type
, $a_size)
82
{
83
return
ilPlugin::_getImagePath
(
IL_COMP_MODULE
,
"OrgUnit"
,
"orguext"
,
ilPlugin::lookupNameForId
(
IL_COMP_MODULE
,
"OrgUnit"
,
"orguext"
,
$a_type
),
"icon_"
84
.
$a_type
85
.
".svg"
);
86
}
87
88
93
public
static
function
_getName
($a_id)
94
{
95
$name
=
ilPlugin::lookupNameForId
(
IL_COMP_MODULE
,
"Repository"
,
"orguext"
, $a_id);
96
if
(
$name
!=
""
) {
97
return
$name
;
98
}
99
}
100
101
107
public
function
showInTree
()
108
{
109
return
false
;
110
}
111
}
ilOrgUnitExtensionPlugin\_getName
static _getName($a_id)
Definition:
class.ilOrgUnitExtensionPlugin.php:93
ilOrgUnitExtensionPlugin\getSlotId
getSlotId()
Get Slot ID.
Definition:
class.ilOrgUnitExtensionPlugin.php:50
ilPlugin\_getImagePath
static _getImagePath(string $a_ctype, string $a_cname, string $a_slot_id, string $a_pname, string $a_img)
Definition:
class.ilPlugin.php:622
ilRepositoryObjectPlugin
Abstract parent class for all repository object plugin classes.
Definition:
class.ilRepositoryObjectPlugin.php:13
ilPlugin\lookupNameForId
static lookupNameForId(string $a_ctype, string $a_cname, string $a_slot_id, string $a_plugin_id)
Definition:
class.ilPlugin.php:1285
$a_type
$a_type
Definition:
workflow.php:92
ilOrgUnitExtensionPlugin\_getIcon
static _getIcon($a_type, $a_size)
Definition:
class.ilOrgUnitExtensionPlugin.php:81
IL_COMP_MODULE
const IL_COMP_MODULE
Definition:
class.ilComponent.php:5
ilOrgUnitExtensionPlugin\getParentTypes
getParentTypes()
Definition:
class.ilOrgUnitExtensionPlugin.php:68
ilOrgUnitExtensionPlugin\showInTree
showInTree()
return true iff this item should be displayed in the tree.
Definition:
class.ilOrgUnitExtensionPlugin.php:107
ilOrgUnitExtensionPlugin\slotInit
slotInit()
Object initialization done by slot.
Definition:
class.ilOrgUnitExtensionPlugin.php:59
$name
$name
Definition:
client_example.php:35
ilOrgUnitExtensionPlugin\getSlot
getSlot()
Get Slot Name.
Definition:
class.ilOrgUnitExtensionPlugin.php:39
php
ilOrgUnitExtensionPlugin\getComponentName
getComponentName()
Get Component Name.
Definition:
class.ilOrgUnitExtensionPlugin.php:28
ilOrgUnitExtensionPlugin\getComponentType
getComponentType()
Get Component Type.
Definition:
class.ilOrgUnitExtensionPlugin.php:17
ilOrgUnitExtensionPlugin
Class ilOrgUnitExtensionPlugin.
Definition:
class.ilOrgUnitExtensionPlugin.php:9
Modules
OrgUnit
classes
Extension
class.ilOrgUnitExtensionPlugin.php
Generated on Thu Jan 30 2025 19:01:42 for ILIAS by
1.8.13 (using
Doxyfile
)