ILIAS  Release_4_1_x_branch Revision 61804
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilChatHandlerGUI Class Reference
+ Collaboration diagram for ilChatHandlerGUI:

Public Member Functions

 __construct ()
 executeCommand ()
 Execute command.

Detailed Description

Author
Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om
Version
$Id$

ilChatHandlerGUI: ilObjChatGUI

/

Definition at line 34 of file class.ilChatHandlerGUI.php.

Constructor & Destructor Documentation

ilChatHandlerGUI::__construct ( )

Definition at line 36 of file class.ilChatHandlerGUI.php.

References $ilCtrl.

{
global $ilCtrl;
$this->ctrl = $ilCtrl;
}

Member Function Documentation

ilChatHandlerGUI::executeCommand ( )

Execute command.

public

Parameters

Definition at line 50 of file class.ilChatHandlerGUI.php.

References $_GET, $cmd, $lng, and $tpl.

{
global $lng, $ilAccess, $tpl, $ilNavigationHistory;
$cmd = $this->ctrl->getCmd();
$next_class = $this->ctrl->getNextClass($this);
if ($next_class == "")
{
$this->ctrl->setCmdClass("ilobjchatgui");
$next_class = $this->ctrl->getNextClass($this);
}
switch ($next_class)
{
case 'ilobjchatgui':
require_once "./Modules/Chat/classes/class.ilObjChatGUI.php";
$chat_gui =& new ilObjChatGUI("", (int) $_GET["ref_id"], true, false);
$this->ctrl->forwardCommand($chat_gui);
break;
}
$tpl->show();
}

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