|
ILIAS
Release_4_3_x_branch Revision 61807
|
Class ilChatroom. More...
Inheritance diagram for ilChatroomHistoryTask:
Collaboration diagram for ilChatroomHistoryTask:Public Member Functions | |
| __construct (ilDBayObjectGUI $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. | |
Public Member Functions inherited from ilDBayTaskHandler | |
| execute ($method) | |
| Executes given $method if existing, otherwise executes executeDefault() 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 | ( | ilDBayObjectGUI | $gui | ) |
Constructor.
Requires needed classes and sets $this->gui using given $gui.
| ilDBayObjectGUI | $gui |
Reimplemented from ilDBayTaskHandler.
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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilChatroomHistoryTask::byDayExport | ( | ) |
Definition at line 214 of file class.ilChatroomHistoryTask.php.
References byDay().
Here is the call graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilChatroomHistoryTask::bySessionExport | ( | ) |
Definition at line 218 of file class.ilChatroomHistoryTask.php.
References bySession().
Here is the call graph for this function:| ilChatroomHistoryTask::executeDefault | ( | $method | ) |
Calls $this->byDay method.
| string | $method |
Reimplemented from ilDBayTaskHandler.
Definition at line 376 of file class.ilChatroomHistoryTask.php.
References byDay().
Here is the call graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 18 of file class.ilChatroomHistoryTask.php.
Referenced by __construct().