| ILIAS
    Release_4_3_x_branch Revision 61807
    | 
Class ilChatroomPostMessageTask. More...
 Inheritance diagram for ilChatroomPostMessageTask:
 Inheritance diagram for ilChatroomPostMessageTask: Collaboration diagram for ilChatroomPostMessageTask:
 Collaboration diagram for ilChatroomPostMessageTask:| Public Member Functions | |
| __construct (ilDBayObjectGUI $gui) | |
| Constructor. | |
| executeDefault ($method) | |
| Prepares and posts message fetched from $_REQUEST['message'] to recipients fetched from $_REQUEST['recipient'] and adds an entry to history if successful. | |
|  Public Member Functions inherited from ilDBayTaskHandler | |
| execute ($method) | |
| Executes given $method if existing, otherwise executes executeDefault() method. | |
| 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 ilChatroomPostMessageTask.
Definition at line 13 of file class.ilChatroomPostMessageTask.php.
| ilChatroomPostMessageTask::__construct | ( | ilDBayObjectGUI | $gui | ) | 
Constructor.
Sets $this->gui using given $gui
| ilDBayObjectGUI | $gui | 
Reimplemented from ilDBayTaskHandler.
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:
 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.
ilObjUser $ilUser
| string | $method | 
Reimplemented from ilDBayTaskHandler.
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:
 Here is the call graph for this function:| 
 | private | 
Definition at line 16 of file class.ilChatroomPostMessageTask.php.
Referenced by __construct().