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();
47 $this->gui->ilias->raiseError(
48 $lng->txt(
"msg_no_perm_read"),
49 $this->
ilias->error_obj->MESSAGE
55 $info->enablePrivateNotes();
61 $info->addMetaDataSections(
62 $this->gui->object->getId(),
64 $this->gui->object->getType()
67 $ilCtrl->setCmd(
'showSummary');
69 $ilCtrl->setCmd($method);
71 $ilCtrl->forwardCommand(
$info);
redirectIfNoPermission($permission)
Checks for requested permissions and redirects if the permission check failed.
executeDefault($requestedMethod)
createInfoScreenGUI($gui)
static checkUserPermissions($permissions, $ref_id, $send_info=true)
Checks user permissions by given array and ref_id.
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.