ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilChatroomHistoryGUI Class Reference

Class ilChatroom Keeps methods to prepare and display the history task. More...

+ Inheritance diagram for ilChatroomHistoryGUI:
+ Collaboration diagram for ilChatroomHistoryGUI:

Public Member Functions

 __construct (ilChatroomObjectGUI $gui)
 {} More...
 
 executeDefault ($method)
 {} 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...
 

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
 
 $rbacsystem
 

Detailed Description

Class ilChatroom Keeps methods to prepare and display the history 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.ilChatroomHistoryGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilChatroomHistoryGUI::__construct ( ilChatroomObjectGUI  $gui)

{}

Definition at line 16 of file class.ilChatroomHistoryGUI.php.

References $_POST, $_SERVER, ilChatroomGUIHandler\$ilCtrl, ilChatroomGUIHandler\$ilUser, $lng, $messages, $tpl, array, ilChatroom\byObjectId(), ilChatroom\checkUserPermissions(), date, exit, ilDatePresentation\formatDate(), ilDatePresentation\formatPeriod(), header, IL_CAL_FKT_DATE, IL_CAL_UNIX, ilSelectInputGUI\setOptions(), ilDatePresentation\setUseRelativeDates(), ilCalendarSettings\TIME_FORMAT_12, ilCalendarSettings\TIME_FORMAT_24, and ilDatePresentation\useRelativeDates().

17  {
18  parent::__construct($gui);
19  require_once 'Modules/Chatroom/classes/class.ilChatroomFormFactory.php';
20  require_once 'Modules/Chatroom/classes/class.ilChatroom.php';
21  require_once 'Modules/Chatroom/classes/class.ilChatroomUser.php';
22  }
+ Here is the call graph for this function:

Member Function Documentation

◆ executeDefault()

ilChatroomHistoryGUI::executeDefault (   $method)

{}

Definition at line 390 of file class.ilChatroomHistoryGUI.php.

391  {
392  $this->byDay();
393  }

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