ILIAS  Release_4_4_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
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.
 getPluginObject ()
 Get plugin object.
 executeCommand ()
 Execute command.
 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

ilPluginConfigGUI::executeCommand ( )

Execute command.

Parameters
@return

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

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

{
global $ilCtrl, $ilTabs, $lng, $tpl;
$ilCtrl->setParameterByClass("ilobjcomponentsettingsgui", "ctype", $_GET["ctype"]);
$ilCtrl->setParameterByClass("ilobjcomponentsettingsgui", "cname", $_GET["cname"]);
$ilCtrl->setParameterByClass("ilobjcomponentsettingsgui", "slot_id", $_GET["slot_id"]);
$ilCtrl->setParameterByClass("ilobjcomponentsettingsgui", "plugin_id", $_GET["plugin_id"]);
$ilCtrl->setParameterByClass("ilobjcomponentsettingsgui", "pname", $_GET["pname"]);
$tpl->setTitle($lng->txt("cmps_plugin").": ".$_GET["pname"]);
$tpl->setDescription("");
$ilTabs->clearTargets();
if($_GET["plugin_id"])
{
$ilTabs->setBackTarget(
$lng->txt("cmps_plugin"),
$ilCtrl->getLinkTargetByClass("ilobjcomponentsettingsgui", "showPlugin")
);
}
else
{
$ilTabs->setBackTarget(
$lng->txt("cmps_plugins"),
$ilCtrl->getLinkTargetByClass("ilobjcomponentsettingsgui", "listPlugins")
);
}
$this->performCommand($ilCtrl->getCmd("configure"));
}

+ Here is the call graph for this function:

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:

ilPluginConfigGUI::performCommand (   $cmd)
abstract

Reimplemented in ilCloudPluginConfigGUI.

Referenced by executeCommand().

+ Here is the caller graph for this function:

ilPluginConfigGUI::setPluginObject (   $a_val)
final

Set plugin object.

Parameters
objectplugin object

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

{
$this->plugin_object = $a_val;
}

Field Documentation

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: