|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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) | ||||
{
| ||||
| byDayExport () | ||||
| byDay ($export=false) | ||||
| Prepares and displays history period form by day. More... | ||||
| bySessionExport () | ||||
| bySession ($export=false) | ||||
| Prepares and displays history period form by session. More... | ||||
| executeDefault ($method) | ||||
{
| ||||
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... | ||||
Private Member Functions | |
| showMessages ($messages, $durationForm, $export=false, $psessions=array(), $from, $to) | |
| Prepares history table and displays it. 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 | |
| $rbacsystem | |
| $mainTpl | |
| $ilias | |
| $navigationHistory | |
| $tree | |
| $tabs | |
Class ilChatroom Keeps methods to prepare and display the history task.
Definition at line 11 of file class.ilChatroomHistoryGUI.php.
| ilChatroomHistoryGUI::__construct | ( | ilChatroomObjectGUI | $gui | ) |
{
| ilChatroomObjectGUI | $gui |
Reimplemented from ilChatroomGUIHandler.
Definition at line 16 of file class.ilChatroomHistoryGUI.php.
References ilChatroomGUIHandler\$gui.
| ilChatroomHistoryGUI::byDay | ( | $export = false | ) |
Prepares and displays history period form by day.
| bool | $export |
Definition at line 34 of file class.ilChatroomHistoryGUI.php.
References $_SERVER, $from, $messages, ilChatroom\byObjectId(), ilCtrl\getFormAction(), and showMessages().
Referenced by byDayExport(), and executeDefault().
Here is the call graph for this function:
Here is the caller graph for this function:| ilChatroomHistoryGUI::byDayExport | ( | ) |
Definition at line 24 of file class.ilChatroomHistoryGUI.php.
References byDay().
Here is the call graph for this function:| ilChatroomHistoryGUI::bySession | ( | $export = false | ) |
Prepares and displays history period form by session.
| bool | $export |
Definition at line 244 of file class.ilChatroomHistoryGUI.php.
References $_POST, $_SERVER, $from, $messages, ilChatroom\byObjectId(), ilCtrl\getFormAction(), IL_CAL_UNIX, and showMessages().
Referenced by bySessionExport().
Here is the call graph for this function:
Here is the caller graph for this function:| ilChatroomHistoryGUI::bySessionExport | ( | ) |
Definition at line 234 of file class.ilChatroomHistoryGUI.php.
References bySession().
Here is the call graph for this function:| ilChatroomHistoryGUI::executeDefault | ( | $method | ) |
{
| string | $requestedMethod |
Reimplemented from ilChatroomGUIHandler.
Definition at line 318 of file class.ilChatroomHistoryGUI.php.
References byDay().
Here is the call graph for this function:
|
private |
Prepares history table and displays it.
| $messages | ||
| $durationForm | ||
| bool | $export | |
| array | $psessions | |
| $from | ||
| $to |
Definition at line 93 of file class.ilChatroomHistoryGUI.php.
References $currentDate, $from, $message, $messages, $session, ilChatroom\byObjectId(), exit, ilDatePresentation\formatDate(), ilDatePresentation\formatPeriod(), IL_CAL_FKT_DATE, IL_CAL_UNIX, ilChatroomGUIHandler\redirectIfNoPermission(), ilDatePresentation\setUseRelativeDates(), ilCalendarSettings\TIME_FORMAT_12, ilCalendarSettings\TIME_FORMAT_24, and ilDatePresentation\useRelativeDates().
Referenced by byDay(), and bySession().
Here is the call graph for this function:
Here is the caller graph for this function: