|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Class ilChatroomPostMessageTask. More...
Inheritance diagram for ilChatroomPostMessageTask:
Collaboration diagram for ilChatroomPostMessageTask:Public Member Functions | |
| __construct (ilChatroomObjectGUI $gui) | |
| Constructor. More... | |
| executeDefault ($method) | |
| Prepares and posts message fetched from $_REQUEST['message'] to recipients fetched from $_REQUEST['recipient'] and adds an entry to history if successful. More... | |
| __construct (ilChatroomObjectGUI $gui) | |
| executeDefault ($requestedMethod) | |
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. More... | |
Private Attributes | |
| $gui | |
Class ilChatroomPostMessageTask.
Definition at line 13 of file class.ilChatroomPostMessageTask.php.
| ilChatroomPostMessageTask::__construct | ( | ilChatroomObjectGUI | $gui | ) |
Constructor.
Sets $this->gui using given $gui
| ilChatroomObjectGUI | $gui |
Reimplemented from ilChatroomTaskHandler.
Definition at line 25 of file class.ilChatroomPostMessageTask.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 126 of file class.ilChatroomPostMessageTask.php.
References $data.
Referenced by executeDefault().
Here is the caller graph for this function:| ilChatroomPostMessageTask::executeDefault | ( | $method | ) |
Prepares and posts message fetched from $_REQUEST['message'] to recipients fetched from $_REQUEST['recipient'] and adds an entry to history if successful.
@global ilObjUser $ilUser
| string | $method |
Reimplemented from ilChatroomTaskHandler.
Definition at line 38 of file class.ilChatroomPostMessageTask.php.
References $_REQUEST, $ilCtrl, $ilUser, $query, buildMessage(), ilChatroom\byObjectId(), ilChatroom\checkUserPermissions(), exit, and ilUtil\stripSlashes().
Here is the call graph for this function:
|
private |
Definition at line 16 of file class.ilChatroomPostMessageTask.php.
Referenced by __construct().