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

Class ilChatroomSettingsGUI. More...

+ Inheritance diagram for ilChatroomSettingsGUI:
+ Collaboration diagram for ilChatroomSettingsGUI:

Public Member Functions

 __construct (ilChatroomObjectGUI $gui)
 Constructor Requires ilChatroomFormFactory, ilChatroom and ilChatroomInstaller, sets $this->gui using given $gui and calls ilChatroomInstaller::install() method. More...
 
 executeDefault ($requestedMethod)
 
- 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...
 

Additional Inherited Members

- 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)
 
- Protected Attributes inherited from ilChatroomGUIHandler
 $gui
 
 $ilUser
 
 $ilCtrl
 
 $ilLng
 
 $webDirectory
 
 $upload
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilChatroomSettingsGUI::__construct ( ilChatroomObjectGUI  $gui)

Constructor Requires ilChatroomFormFactory, ilChatroom and ilChatroomInstaller, sets $this->gui using given $gui and calls ilChatroomInstaller::install() method.

Parameters
ilChatroomObjectGUI$gui

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

References $_POST, ilChatroomGUIHandler\$ilCtrl, $lng, $tpl, ilChatroomFormFactory\applyValues(), array, ilChatroom\checkUserPermissions(), general, IL_CAL_UNIX, ilUtil\sendInfo(), ilUtil\sendSuccess(), ilObjectActivation\TIMINGS_ACTIVATION, and ilObjectActivation\TIMINGS_DEACTIVATED.

20  {
21  parent::__construct($gui);
22 
23  require_once 'Modules/Chatroom/classes/class.ilChatroomFormFactory.php';
24  require_once 'Modules/Chatroom/classes/class.ilChatroom.php';
25  require_once 'Modules/Chatroom/classes/class.ilChatroomInstaller.php';
26  }
+ Here is the call graph for this function:

Member Function Documentation

◆ executeDefault()

ilChatroomSettingsGUI::executeDefault (   $requestedMethod)
Parameters
string$requestedMethod
Returns
void

Definition at line 145 of file class.ilChatroomSettingsGUI.php.

References general.

146  {
147  $this->general();
148  }
$errors general
Prepares and displays settings form.
Definition: imgupload.php:50

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