ILIAS  Release_4_2_x_branch Revision 61807
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilPluginConfigGUI Class Reference

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

+ 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", "pname", $_GET["pname"]);
$tpl->setTitle($lng->txt("cmps_plugin").": ".$_GET["pname"]);
$tpl->setDescription("");
$ilTabs->clearTargets();
$ilTabs->setBackTarget(
$lng->txt("cmps_plugin_slot"),
$ilCtrl->getLinkTargetByClass("ilobjcomponentsettingsgui", "showPluginSlot")
);
$this->performCommand($ilCtrl->getCmd("configure"));
}

+ Here is the call graph for this function:

ilPluginConfigGUI::getPluginObject ( )
final

Get plugin object.

Returns
ilPlugin plugin object

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

References $plugin_object.

{
}
ilPluginConfigGUI::performCommand (   $cmd)
abstract

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: