ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilPluginConfigGUI.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
3
11
abstract
class
ilPluginConfigGUI
12
{
13
protected
$plugin_object
= null;
14
20
final
public
function
setPluginObject
($a_val)
21
{
22
$this->plugin_object = $a_val;
23
}
24
30
final
public
function
getPluginObject
()
31
{
32
return
$this->plugin_object
;
33
}
34
41
public
function
executeCommand
()
42
{
43
global
$DIC
;
44
$ilCtrl
= $DIC->ctrl();
45
$ilTabs = $DIC->tabs();
46
$lng
= $DIC->language();
47
$tpl
= $DIC[
'tpl'
];
48
49
$ilCtrl
->setParameterByClass(
"ilobjcomponentsettingsgui"
,
"ctype"
,
$_GET
[
"ctype"
]);
50
$ilCtrl
->setParameterByClass(
"ilobjcomponentsettingsgui"
,
"cname"
,
$_GET
[
"cname"
]);
51
$ilCtrl
->setParameterByClass(
"ilobjcomponentsettingsgui"
,
"slot_id"
,
$_GET
[
"slot_id"
]);
52
$ilCtrl
->setParameterByClass(
"ilobjcomponentsettingsgui"
,
"plugin_id"
,
$_GET
[
"plugin_id"
]);
53
$ilCtrl
->setParameterByClass(
"ilobjcomponentsettingsgui"
,
"pname"
,
$_GET
[
"pname"
]);
54
55
$tpl
->setTitle(
$lng
->txt(
"cmps_plugin"
) .
": "
.
$_GET
[
"pname"
]);
56
$tpl
->setDescription(
""
);
57
58
$ilTabs->clearTargets();
59
60
if
(
$_GET
[
"plugin_id"
]) {
61
$ilTabs->setBackTarget(
62
$lng
->txt(
"cmps_plugin"
),
63
$ilCtrl
->getLinkTargetByClass(
"ilobjcomponentsettingsgui"
,
"showPlugin"
)
64
);
65
}
else
{
66
$ilTabs->setBackTarget(
67
$lng
->txt(
"cmps_plugins"
),
68
$ilCtrl
->getLinkTargetByClass(
"ilobjcomponentsettingsgui"
,
"listPlugins"
)
69
);
70
}
71
72
$this->
performCommand
(
$ilCtrl
->getCmd(
"configure"
));
73
}
74
75
abstract
public
function
performCommand
($cmd);
76
}
ilPluginConfigGUI\setPluginObject
setPluginObject($a_val)
Set plugin object.
Definition:
class.ilPluginConfigGUI.php:20
$DIC
global $DIC
Definition:
saml.php:7
ilPluginConfigGUI\$plugin_object
$plugin_object
Definition:
class.ilPluginConfigGUI.php:13
$_GET
$_GET["client_id"]
Definition:
cfg.phpunit.template.php:12
$tpl
$tpl
Definition:
ilias.php:10
ilPluginConfigGUI\performCommand
performCommand($cmd)
$ilCtrl
global $ilCtrl
Definition:
ilias.php:18
$lng
$lng
Definition:
save_question_post_data.php:23
ilPluginConfigGUI
Parent class for all plugin config gui classes.
Definition:
class.ilPluginConfigGUI.php:11
ilPluginConfigGUI\getPluginObject
getPluginObject()
Get plugin object.
Definition:
class.ilPluginConfigGUI.php:30
ilPluginConfigGUI\executeCommand
executeCommand()
Execute command.
Definition:
class.ilPluginConfigGUI.php:41
php
Services
Component
classes
class.ilPluginConfigGUI.php
Generated on Thu Jan 16 2025 19:02:19 for ILIAS by
1.8.13 (using
Doxyfile
)