ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
class.ilCloudHookPlugin.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
include_once(
"./Services/Component/classes/class.ilPlugin.php"
);
5
16
abstract
class
ilCloudHookPlugin
extends
ilPlugin
17
{
23
final
function
getComponentType
()
24
{
25
return
IL_COMP_MODULE
;
26
}
27
33
final
function
getComponentName
()
34
{
35
return
"Cloud"
;
36
}
37
43
final
function
getSlot
()
44
{
45
return
"CloudHook"
;
46
}
47
53
final
function
getSlotId
()
54
{
55
return
"cldh"
;
56
}
57
61
protected
final
function
slotInit
()
62
{
63
// nothing to do here
64
}
65
66
public
function
getPluginTablePrefix
()
67
{
68
$id
= $this->
getId
();
69
if
(!
$id
)
70
{
71
$rec =
ilPlugin::getPluginRecord
($this->
getComponentType
(),$this->
getComponentName
(), $this->
getSlotId
(), $this->
getPluginName
());
72
$id
= $rec[
'plugin_id'
];
73
}
74
return
$this->
getSlotObject
()->getPrefix() .
"_"
.
$id
;
75
}
76
77
public
function
getPluginTableName
()
78
{
79
return
$this->
getPluginTablePrefix
().
"_props"
;
80
}
81
82
public
function
getPluginConfigTableName
()
83
{
84
return
$this->
getPluginTablePrefix
() .
"_config"
;
85
}
86
}
87
88
?>
ilPlugin
Definition:
class.ilPlugin.php:16
ilCloudHookPlugin\getComponentName
getComponentName()
Get Component Name.
Definition:
class.ilCloudHookPlugin.php:33
ilPlugin\getPluginRecord
static getPluginRecord($a_ctype, $a_cname, $a_slot_id, $a_pname)
Get record from il_plugin table.
Definition:
class.ilPlugin.php:639
ilCloudHookPlugin\slotInit
slotInit()
Object initialization done by slot.
Definition:
class.ilCloudHookPlugin.php:61
ilPlugin\getId
getId()
Get Id.
Definition:
class.ilPlugin.php:93
ilCloudHookPlugin\getPluginTablePrefix
getPluginTablePrefix()
Definition:
class.ilCloudHookPlugin.php:66
ilPlugin\$id
$id
Definition:
class.ilPlugin.php:26
IL_COMP_MODULE
const IL_COMP_MODULE
Definition:
class.ilComponent.php:5
ilCloudHookPlugin\getPluginTableName
getPluginTableName()
Definition:
class.ilCloudHookPlugin.php:77
ilCloudHookPlugin\getSlot
getSlot()
Get Slot Name.
Definition:
class.ilCloudHookPlugin.php:43
ilCloudHookPlugin\getComponentType
getComponentType()
Get Component Type.
Definition:
class.ilCloudHookPlugin.php:23
ilPlugin\getPluginName
getPluginName()
Get Plugin Name.
ilPlugin\getSlotObject
getSlotObject()
Get Plugin Slot.
Definition:
class.ilPlugin.php:213
php
ilCloudHookPlugin\getSlotId
getSlotId()
Get Slot ID.
Definition:
class.ilCloudHookPlugin.php:53
ilCloudHookPlugin
Class ilCloudHookPlugin.
Definition:
class.ilCloudHookPlugin.php:16
ilCloudHookPlugin\getPluginConfigTableName
getPluginConfigTableName()
Definition:
class.ilCloudHookPlugin.php:82
Modules
Cloud
classes
class.ilCloudHookPlugin.php
Generated on Fri Jan 24 2025 19:00:55 for ILIAS by
1.8.13 (using
Doxyfile
)