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();
 
An exception for terminatinating execution or to throw for unit testing.
Class ilChatroomCreateGUI.
executeDefault($method)
{mixed}
save()
Inserts new object into gui.
Class ilChatroomGUIHandler.
static byObjectId($object_id)
Returns ilChatroom object by given $object_id.
This class provides processing control methods.
redirect($a_gui_obj, $a_cmd="", $a_anchor="", $a_asynch=false)
Redirect to another command.
setParameter($a_obj, $a_parameter, $a_value)
Set parameters that should be passed a form and link of a gui class.
if(isset($_POST['submit'])) $form