| ILIAS
    Release_4_3_x_branch Revision 61807
    | 
Class ilChatroomPrivateRoomTask. More...
 Inheritance diagram for ilChatroomPrivateRoomTask:
 Inheritance diagram for ilChatroomPrivateRoomTask: Collaboration diagram for ilChatroomPrivateRoomTask:
 Collaboration diagram for ilChatroomPrivateRoomTask:| Public Member Functions | |
| __construct (ilDBayObjectGUI $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 () | |
|  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 ilChatroomPrivateRoomTask.
Definition at line 15 of file class.ilChatroomPrivateRoomTask.php.
| ilChatroomPrivateRoomTask::__construct | ( | ilDBayObjectGUI | $gui | ) | 
Constructor.
Sets $this->gui using given $gui
| ilDBayObjectGUI | $gui | 
Reimplemented from ilDBayTaskHandler.
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 $data, and ilChatroomUser\getUserId().
 Here is the call graph for this function:
 Here is the call graph for this function:| 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, $title, $tpl, ilChatroom\byObjectId(), ilChatroom\checkUserPermissions(), and exit.
 Here is the call graph for this function:
 Here is the call graph for this function:| ilChatroomPrivateRoomTask::delete | ( | ) | 
Definition at line 90 of file class.ilChatroomPrivateRoomTask.php.
References $_REQUEST, $ilUser, $query, $tpl, ilChatroom\byObjectId(), and exit.
 Here is the call graph for this function:
 Here is the call graph for this function:| ilChatroomPrivateRoomTask::enter | ( | ) | 
Definition at line 230 of file class.ilChatroomPrivateRoomTask.php.
References $_REQUEST, $ilUser, $query, $tpl, ilChatroom\byObjectId(), ilChatroom\checkUserPermissions(), and exit.
 Here is the call graph for this function:
 Here is the call graph for this function:| ilChatroomPrivateRoomTask::executeDefault | ( | $method | ) | 
Reimplemented from ilDBayTaskHandler.
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.
 Here is the call graph for this function:
 Here is the call graph for this function:| ilChatroomPrivateRoomTask::listUsers | ( | ) | 
Definition at line 294 of file class.ilChatroomPrivateRoomTask.php.
References $_REQUEST, $ilUser, ilChatroom\byObjectId(), and exit.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
Definition at line 18 of file class.ilChatroomPrivateRoomTask.php.
Referenced by __construct().