Public Member Functions | |
| __construct () | |
| executeCommand () | |
| Execute command. | |
ilChatHandlerGUI: ilObjChatGUI
/
Definition at line 34 of file class.ilChatHandlerGUI.php.
| ilChatHandlerGUI::__construct | ( | ) |
Definition at line 36 of file class.ilChatHandlerGUI.php.
References $ilCtrl.
{
global $ilCtrl;
$this->ctrl = $ilCtrl;
}
| ilChatHandlerGUI::executeCommand | ( | ) |
Execute command.
public
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();
}
1.7.1