ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
ilPluginConfigGUI Class Reference

Parent class for all plugin config gui classes. More...

+ Inheritance diagram for ilPluginConfigGUI:
+ Collaboration diagram for ilPluginConfigGUI:

Public Member Functions

 setPluginObject ($a_val)
 Set plugin object. More...
 
 getPluginObject ()
 Get plugin object. More...
 
 executeCommand ()
 Execute command. More...
 
 performCommand ($cmd)
 

Protected Attributes

 $plugin_object = null
 

Detailed Description

Parent class for all plugin config gui classes.

Author
Alex Killing <alex.killing>
Version
$Id$

Definition at line 11 of file class.ilPluginConfigGUI.php.

Member Function Documentation

◆ executeCommand()

ilPluginConfigGUI::executeCommand ( )

Execute command.

Parameters

return

Definition at line 41 of file class.ilPluginConfigGUI.php.

42 {
43 global $ilCtrl, $ilTabs, $lng, $tpl;
44
45 $ilCtrl->setParameterByClass("ilobjcomponentsettingsgui", "ctype", $_GET["ctype"]);
46 $ilCtrl->setParameterByClass("ilobjcomponentsettingsgui", "cname", $_GET["cname"]);
47 $ilCtrl->setParameterByClass("ilobjcomponentsettingsgui", "slot_id", $_GET["slot_id"]);
48 $ilCtrl->setParameterByClass("ilobjcomponentsettingsgui", "plugin_id", $_GET["plugin_id"]);
49 $ilCtrl->setParameterByClass("ilobjcomponentsettingsgui", "pname", $_GET["pname"]);
50
51 $tpl->setTitle($lng->txt("cmps_plugin").": ".$_GET["pname"]);
52 $tpl->setDescription("");
53
54 $ilTabs->clearTargets();
55
56 if($_GET["plugin_id"])
57 {
58 $ilTabs->setBackTarget(
59 $lng->txt("cmps_plugin"),
60 $ilCtrl->getLinkTargetByClass("ilobjcomponentsettingsgui", "showPlugin")
61 );
62 }
63 else
64 {
65 $ilTabs->setBackTarget(
66 $lng->txt("cmps_plugins"),
67 $ilCtrl->getLinkTargetByClass("ilobjcomponentsettingsgui", "listPlugins")
68 );
69 }
70
71 $this->performCommand($ilCtrl->getCmd("configure"));
72
73 }
global $tpl
Definition: ilias.php:8
$_GET["client_id"]
global $ilCtrl
Definition: ilias.php:18
global $lng
Definition: privfeed.php:40

References $_GET, $ilCtrl, $lng, $tpl, and performCommand().

+ Here is the call graph for this function:

◆ getPluginObject()

ilPluginConfigGUI::getPluginObject ( )
final

Get plugin object.

Returns
ilPlugin object

Definition at line 30 of file class.ilPluginConfigGUI.php.

References $plugin_object.

Referenced by ilCloudPluginConfigGUI\getTableName().

+ Here is the caller graph for this function:

◆ performCommand()

ilPluginConfigGUI::performCommand (   $cmd)
abstract

Reimplemented in ilCloudPluginConfigGUI.

Referenced by executeCommand().

+ Here is the caller graph for this function:

◆ setPluginObject()

ilPluginConfigGUI::setPluginObject (   $a_val)
final

Set plugin object.

Parameters
objectplugin object

Definition at line 20 of file class.ilPluginConfigGUI.php.

21 {
22 $this->plugin_object = $a_val;
23 }

Field Documentation

◆ $plugin_object

ilPluginConfigGUI::$plugin_object = null
protected

Definition at line 13 of file class.ilPluginConfigGUI.php.

Referenced by getPluginObject().


The documentation for this class was generated from the following file: