18 require_once
'Modules/Chatroom/classes/class.ilChatroomFormFactory.php';
20 $form = $formFactory->getCreationForm();
22 if (
$form->checkInput()) {
23 $roomObj = $this->gui->insertObject();
26 $connector = $this->gui->getConnector();
27 $response = $connector->sendCreatePrivateRoom($room->getRoomId(), 0, $roomObj->getOwner(), $roomObj->getTitle());
41 $this->gui->switchToVisibleMode();
42 $this->gui->createObject();
setParameter($a_obj, $a_parameter, $a_value)
Set parameters that should be passed a form and link of a gui class.
This class provides processing control methods.
executeDefault($method)
{}
if(isset($_POST['submit'])) $form
Class ilChatroomGUIHandler.
save()
Inserts new object into gui.
Class ilChatroomCreateGUI.
static byObjectId($object_id)
Returns ilChatroom object by given $object_id.
redirect($a_gui_obj, $a_cmd="", $a_anchor="", $a_asynch=false)
Redirect to another command.