Public Member Functions

ilChatHandlerGUI Class Reference

Public Member Functions

 __construct ()
 executeCommand ()
 Execute command.

Detailed Description

Author:
Stefan Meyer <smeyer@databay.de>
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: