ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
ilChatroomViewTask Class Reference

Class ilChatroomViewTask. More...

+ Inheritance diagram for ilChatroomViewTask:
+ Collaboration diagram for ilChatroomViewTask:

Public Member Functions

 __construct (ilChatroomObjectGUI $gui)
 
 renderFileUploadForm (ilTemplate $roomTpl)
 Prepares Fileupload form and displays it. More...
 
- Public Member Functions inherited from ilChatroomTaskHandler
 __construct (ilChatroomObjectGUI $gui)
 
 executeDefault ($requestedMethod)
 

Private Member Functions

 cancelJoin ($message)
 Calls ilUtil::sendFailure method using given $message as parameter. More...
 

Private Attributes

 $gui
 

Detailed Description

Class ilChatroomViewTask.

Author
Jan Posselt jposs.nosp@m.elt@.nosp@m.datab.nosp@m.ay.d.nosp@m.e
Version
$Id$

Definition at line 13 of file class.ilChatroomViewTask.php.

Constructor & Destructor Documentation

◆ __construct()

ilChatroomViewTask::__construct ( ilChatroomObjectGUI  $gui)
Parameters
ilChatroomObjectGUI$gui

Definition at line 23 of file class.ilChatroomViewTask.php.

References $gui.

24  {
25  $this->gui = $gui;
26  }

Member Function Documentation

◆ cancelJoin()

◆ renderFileUploadForm()

ilChatroomViewTask::renderFileUploadForm ( ilTemplate  $roomTpl)

Prepares Fileupload form and displays it.

Parameters
ilTemplate$roomTpl

Definition at line 659 of file class.ilChatroomViewTask.php.

References $ilCtrl, $lng, ilUtil\sendFailure(), and HTML_Template_IT\setVariable().

Referenced by cancelJoin().

660  {
661  // @todo: Not implemented yet
662  return;
663 
664  require_once 'Modules/Chatroom/classes/class.ilChatroomFormFactory.php';
665  $formFactory = new ilChatroomFormFactory();
666  $file_upload = $formFactory->getFileUploadForm();
667  //$file_upload->setFormAction( $ilCtrl->getFormAction($this->gui, 'UploadFile-uploadFile') );
668  $roomTpl->setVariable('FILE_UPLOAD', $file_upload->getHTML());
669  }
Class ilChatroomFormFactory.
setVariable($variable, $value='')
Sets a variable value.
Definition: IT.php:626
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $gui

ilChatroomViewTask::$gui
private

Definition at line 18 of file class.ilChatroomViewTask.php.

Referenced by __construct().


The documentation for this class was generated from the following file: