/** * Initialisation */ public function init() { $this->delete_enabled = true; $this->cut_enabled = true; $this->copy_enabled = true; $this->subscribe_enabled = true; $this->link_enabled = true; $this->payment_enabled = true; $this->info_screen_enabled = true; $this->type = "chtr"; $this->gui_class_name = "ilobjchatroomgui"; // general commands array include_once './Modules/Chatroom/classes/class.ilObjChatroomAccess.php'; $this->commands = ilObjChatroomAccess::_getCommands(); }