16 public function save()
23 require_once
'Modules/Chatroom/classes/class.ilChatroomFormFactory.php';
25 $form = $formFactory->getCreationForm();
27 if($form->checkInput())
29 $roomObj = $this->gui->insertObject();
32 $connector = $this->gui->getConnector();
33 $response = $connector->sendCreatePrivateRoom($room->getRoomId(), 0, $roomObj->getOwner(), $roomObj->getTitle());
35 $ilCtrl->setParameter($this->gui,
'ref_id', $this->gui->getRefId());
36 $ilCtrl->redirect($this->gui,
'settings-general');
49 $this->gui->switchToVisibleMode();
50 return $this->gui->createObject();
executeDefault($method)
{}
Class ilChatroomGUIHandler.
Class ilChatroomCreateGUI.
static byObjectId($object_id)
Returns ilChatroom object by given $object_id.