ILIAS
Release_5_0_x_branch Revision 61816
|
Class ilChatroomPrivateRoomTask. More...
Public Member Functions | |
__construct (ilChatroomObjectGUI $gui) | |
Constructor. | |
executeDefault ($method) | |
create () | |
Prepares and posts message fetched from $_REQUEST['message'] to recipients fetched from $_REQUEST['recipient'] and adds an entry to history if successful. | |
delete () | |
leave () | |
Prepares and posts message fetched from $_REQUEST['message'] to recipients fetched from $_REQUEST['recipient'] and adds an entry to history if successful. | |
enter () | |
listUsers () |
Private Member Functions | |
buildMessage ($messageString, $params, ilChatroomUser $chat_user) | |
Instantiates stdClass, sets $data->user, $data->message, $data->public and $data->recipients using given $chat_user, $messageString and $params and returns $data. |
Private Attributes | |
$gui |
Class ilChatroomPrivateRoomTask.
Definition at line 15 of file class.ilChatroomPrivateRoomTask.php.
ilChatroomPrivateRoomTask::__construct | ( | ilChatroomObjectGUI | $gui | ) |
Constructor.
Sets $this->gui using given $gui
ilChatroomObjectGUI | $gui |
Reimplemented from ilChatroomTaskHandler.
Definition at line 27 of file class.ilChatroomPrivateRoomTask.php.
References $gui.
|
private |
Instantiates stdClass, sets $data->user, $data->message, $data->public and $data->recipients using given $chat_user, $messageString and $params and returns $data.
string | $messageString | |
array | $params | |
ilChatroomUser | $chat_user |
Definition at line 314 of file class.ilChatroomPrivateRoomTask.php.
References ilChatroomUser\getUserId().
ilChatroomPrivateRoomTask::create | ( | ) |
Prepares and posts message fetched from $_REQUEST['message'] to recipients fetched from $_REQUEST['recipient'] and adds an entry to history if successful.
ilTemplate $tpl ilObjUser $ilUser
string | $method |
Definition at line 45 of file class.ilChatroomPrivateRoomTask.php.
References $_REQUEST, $ilCtrl, $ilUser, $tpl, ilChatroom\byObjectId(), ilChatroom\checkUserPermissions(), and exit.
ilChatroomPrivateRoomTask::delete | ( | ) |
Definition at line 90 of file class.ilChatroomPrivateRoomTask.php.
References $_REQUEST, $ilUser, $query, $tpl, ilChatroom\byObjectId(), and exit.
ilChatroomPrivateRoomTask::enter | ( | ) |
Definition at line 230 of file class.ilChatroomPrivateRoomTask.php.
References $_REQUEST, $ilUser, $query, $tpl, ilChatroom\byObjectId(), ilChatroom\checkUserPermissions(), and exit.
ilChatroomPrivateRoomTask::executeDefault | ( | $requestedMethod | ) |
string | $requestedMethod |
Reimplemented from ilChatroomTaskHandler.
Definition at line 32 of file class.ilChatroomPrivateRoomTask.php.
ilChatroomPrivateRoomTask::leave | ( | ) |
Prepares and posts message fetched from $_REQUEST['message'] to recipients fetched from $_REQUEST['recipient'] and adds an entry to history if successful.
ilTemplate $tpl ilObjUser $ilUser
string | $method |
Definition at line 163 of file class.ilChatroomPrivateRoomTask.php.
References $_REQUEST, $ilUser, $query, $tpl, ilChatroom\byObjectId(), and exit.
ilChatroomPrivateRoomTask::listUsers | ( | ) |
Definition at line 294 of file class.ilChatroomPrivateRoomTask.php.
References $_REQUEST, $ilUser, ilChatroom\byObjectId(), and exit.
|
private |
Definition at line 18 of file class.ilChatroomPrivateRoomTask.php.
Referenced by __construct().