ILIAS
release_4-3 Revision
|
Class ilChatroomKickTask. More...
Public Member Functions | |
__construct (ilDBayObjectGUI $gui) | |
Constructor. | |
sub () | |
Kicks user from subroom into mainroom. | |
recantInvitation ($subroom_id, $user_id) | |
Recant invitation for given $user_id in given $subroom_id. | |
Public Member Functions inherited from ilDBayTaskHandler | |
executeDefault ($requestedMethod) | |
execute ($method) | |
Executes given $method if existing, otherwise executes executeDefault() method. |
Private Member Functions | |
buildMessage ($messageString, ilChatroomUser $chat_user) | |
Instantiates stdClass, sets $data->user and $data->userToKick using given $messageString and $chat_user and returns $data. |
Private Attributes | |
$gui |
ilChatroomKickTask::__construct | ( | ilDBayObjectGUI | $gui | ) |
Constructor.
Sets $this->gui using given $gui.
ilDBayObjectGUI | $gui |
Reimplemented from ilDBayTaskHandler.
Definition at line 25 of file class.ilChatroomKickTask.php.
References $gui.
|
private |
Instantiates stdClass, sets $data->user and $data->userToKick using given $messageString and $chat_user and returns $data.
string | $messageString | |
ilChatroomUser | $chat_user |
Definition at line 117 of file class.ilChatroomKickTask.php.
References $data.
ilChatroomKickTask::recantInvitation | ( | $subroom_id, | |
$user_id | |||
) |
Recant invitation for given $user_id in given $subroom_id.
ilDB $ilDB
integer | $subroom_id | |
integer | $user_id |
Definition at line 205 of file class.ilChatroomKickTask.php.
References $query, $res, and $row.
Referenced by sub().
ilChatroomKickTask::sub | ( | ) |
Kicks user from subroom into mainroom.
ilObjUser $ilUser
Definition at line 134 of file class.ilChatroomKickTask.php.
References $_REQUEST, $ilCtrl, $ilUser, $query, ilChatroom\byObjectId(), ilChatroom\checkPermissionsOfUser(), exit, and recantInvitation().
|
private |
Definition at line 16 of file class.ilChatroomKickTask.php.
Referenced by __construct().