ILIAS  release_4-4 Revision
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

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

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

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  }
$_GET["client_id"]
global $ilCtrl
Definition: ilias.php:18
if(isset($_FILES['img_file']['size']) && $_FILES['img_file']['size'] > 0) $tpl
global $lng
Definition: privfeed.php:40
+ 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().

31  {
32  return $this->plugin_object;
33  }
+ Here is the caller graph for this function:

◆ performCommand()

ilPluginConfigGUI::performCommand (   $cmd)
abstract

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: