21 parent::__construct($gui);
22 require_once
'Services/InfoScreen/classes/class.ilInfoScreenGUI.php';
40 include_once
'Modules/Chatroom/classes/class.ilChatroom.php';
44 $this->gui->switchToVisibleMode();
46 if(!$rbacsystem->checkAccess(
"visible", $this->gui->ref_id))
48 $this->gui->ilias->raiseError(
49 $lng->txt(
"msg_no_perm_read"), $this->
ilias->error_obj->MESSAGE
55 $info->enablePrivateNotes();
57 if($rbacsystem->checkAccess(
"read", (
int)
$_GET[
"ref_id"]))
62 $info->addMetaDataSections(
63 $this->gui->object->getId(), 0, $this->gui->object->getType()
67 $ilCtrl->setCmd(
'showSummary');
71 $ilCtrl->setCmd($method);
73 $ilCtrl->forwardCommand(
$info);
redirectIfNoPermission($permission)
Checks for requested permissions and redirects if the permission check failed.
executeDefault($requestedMethod)
createInfoScreenGUI($gui)
Class ilChatroomGUIHandler.
redirection script todo: (a better solution should control the processing via a xml file) ...
Class ilChatroomInfoGUI Provides methods to prepare and display the info task.
__construct(ilChatroomObjectGUI $gui)
Constructor Requires ilInfoScreenGUI and sets $this->gui using given $gui.