ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilChatroomInfoGUI Class Reference

Class ilChatroomInfoGUI Provides methods to prepare and display the info task. More...

+ Inheritance diagram for ilChatroomInfoGUI:
+ Collaboration diagram for ilChatroomInfoGUI:

Public Member Functions

 __construct (ilChatroomObjectGUI $gui)
 Constructor Requires ilInfoScreenGUI and sets $this->gui using given $gui. More...
 
- Public Member Functions inherited from ilChatroomGUIHandler
 __construct (ilChatroomObjectGUI $gui)
 
 sendResponse ($response)
 Sends a json encoded response and exits the php process. More...
 
 hasPermission ($permission)
 Checks for access with ilRbacSystem. More...
 
 execute ($method)
 Executes given $method if existing, otherwise executes executeDefault() method. More...
 
 executeDefault ($requestedMethod)
 
 redirectIfNoPermission ($permission)
 Checks for requested permissions and redirects if the permission check failed. More...
 
 isSuccessful ($response)
 Checks for success param in an json decoded response. More...
 

Protected Member Functions

 createInfoScreenGUI ($gui)
 
- Protected Member Functions inherited from ilChatroomGUIHandler
 getRoomByObjectId ($objectId)
 
 exitIfNoRoomExists ($room)
 Checks if a ilChatroom exists. More...
 
 exitIfNoRoomPermission ($room, $subRoom, $chat_user)
 Check if user can moderate a chatroom. More...
 
 canModerate ($room, $subRoom, $user_id)
 Checks if the user has permission to moderate a ilChatroom. More...
 
 isMainRoom ($subRoomId)
 

Additional Inherited Members

- Protected Attributes inherited from ilChatroomGUIHandler
 $gui
 
 $ilUser
 
 $ilCtrl
 
 $ilLng
 
 $webDirectory
 
 $upload
 

Detailed Description

Class ilChatroomInfoGUI Provides methods to prepare and display the info task.

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

Definition at line 11 of file class.ilChatroomInfoGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilChatroomInfoGUI::__construct ( ilChatroomObjectGUI  $gui)

Constructor Requires ilInfoScreenGUI and sets $this->gui using given $gui.

Parameters
ilChatroomObjectGUI$gui

Definition at line 19 of file class.ilChatroomInfoGUI.php.

References $_GET, ilChatroomGUIHandler\$ilCtrl, $info, $lng, ilChatroom\checkUserPermissions(), createInfoScreenGUI(), ilChatroomGUIHandler\executeDefault(), and ilChatroomGUIHandler\redirectIfNoPermission().

20  {
21  parent::__construct($gui);
22  require_once 'Services/InfoScreen/classes/class.ilInfoScreenGUI.php';
23  }
+ Here is the call graph for this function:

Member Function Documentation

◆ createInfoScreenGUI()

ilChatroomInfoGUI::createInfoScreenGUI (   $gui)
protected
Parameters
ilChatroomObjectGui$gui
Returns
ilInfoScreenGUI

Definition at line 78 of file class.ilChatroomInfoGUI.php.

References ilChatroomGUIHandler\$gui.

Referenced by __construct().

79  {
80  return new ilInfoScreenGUI($gui);
81  }
Class ilInfoScreenGUI.
+ Here is the caller graph for this function:

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