19declare(strict_types=1);
30 public function save(): void
33 $form = $formFactory->getCreationForm();
35 if ($form->checkInput()) {
36 $roomObj = $this->gui->insertObject();
39 $connector = $this->gui->getConnector();
40 $response = $connector->sendCreatePrivateRoom($room->getRoomId(), 0, $roomObj->getOwner(), $roomObj->getTitle());
51 $this->gui->switchToVisibleMode();
52 $this->gui->createObject();
Class ilChatroomCreateGUI.
executeDefault(string $requestedMethod)
Class ilChatroomGUIHandler.
static byObjectId(int $object_id)
Class ilCtrl provides processing control methods.
redirect(object $a_gui_obj, string $a_cmd=null, string $a_anchor=null, bool $is_async=false)
@inheritDoc
setParameter(object $a_gui_obj, string $a_parameter, $a_value)
@inheritDoc