ILIAS
Release_5_0_x_branch Revision 61816
|
Class ilChatroom. More...
Public Member Functions | |
__construct (ilChatroomObjectGUI $gui) | |
Constructor. | |
byDayExport () | |
bySessionExport () | |
byDay ($export=false) | |
Prepares and displays history period form by day. | |
bySession ($export=false) | |
Prepares and displays history period form by session. | |
executeDefault ($method) | |
Calls $this->byDay method. |
Private Member Functions | |
showMessages ($messages, $durationForm, $export=false, $psessions=array(), $from, $to) | |
Prepares history table and displays it. |
Private Attributes | |
$gui |
Class ilChatroom.
Keeps methods to prepare and display the history task.
Definition at line 15 of file class.ilChatroomHistoryTask.php.
ilChatroomHistoryTask::__construct | ( | ilChatroomObjectGUI | $gui | ) |
Constructor.
Requires needed classes and sets $this->gui using given $gui.
ilChatroomObjectGUI | $gui |
Reimplemented from ilChatroomTaskHandler.
Definition at line 27 of file class.ilChatroomHistoryTask.php.
References $gui.
ilChatroomHistoryTask::byDay | ( | $export = false | ) |
Prepares and displays history period form by day.
ilLanguage $lng ilCtrl2 $ilCtrl ilObjUser $ilUser
Definition at line 228 of file class.ilChatroomHistoryTask.php.
References $_REQUEST, $ilCtrl, $ilUser, $lng, $messages, $tpl, ilChatroom\byObjectId(), IL_CAL_UNIX, and showMessages().
Referenced by byDayExport(), and executeDefault().
ilChatroomHistoryTask::byDayExport | ( | ) |
Definition at line 214 of file class.ilChatroomHistoryTask.php.
References byDay().
ilChatroomHistoryTask::bySession | ( | $export = false | ) |
Prepares and displays history period form by session.
ilLanguage $lng ilCtrl2 $ilCtrl ilObjUser $ilUser
Definition at line 292 of file class.ilChatroomHistoryTask.php.
References $_POST, $_REQUEST, $ilCtrl, $ilUser, $lng, $messages, ilChatroom\byObjectId(), IL_CAL_UNIX, and showMessages().
Referenced by bySessionExport().
ilChatroomHistoryTask::bySessionExport | ( | ) |
Definition at line 218 of file class.ilChatroomHistoryTask.php.
References bySession().
ilChatroomHistoryTask::executeDefault | ( | $method | ) |
Calls $this->byDay method.
string | $method |
Reimplemented from ilChatroomTaskHandler.
Definition at line 376 of file class.ilChatroomHistoryTask.php.
References byDay().
|
private |
Prepares history table and displays it.
ilTemplate $tpl ilLanguage $lng
array | $messages | |
ilPropertyFormGUI | $durationForm |
Definition at line 44 of file class.ilChatroomHistoryTask.php.
References $_REQUEST, $ilCtrl, $ilUser, $lng, $messages, $tpl, ilChatroom\byObjectId(), ilChatroom\checkUserPermissions(), exit, ilDatePresentation\formatDate(), ilDatePresentation\formatPeriod(), IL_CAL_FKT_DATE, IL_CAL_UNIX, ilSelectInputGUI\setOptions(), ilDatePresentation\setUseRelativeDates(), ilCalendarSettings\TIME_FORMAT_12, ilCalendarSettings\TIME_FORMAT_24, and ilDatePresentation\useRelativeDates().
Referenced by byDay(), and bySession().
|
private |
Definition at line 18 of file class.ilChatroomHistoryTask.php.
Referenced by __construct().