ILIAS
Release_5_0_x_branch Revision 61816
|
Class ilChatroomKickTask. More...
Public Member Functions | |
__construct (ilChatroomObjectGUI $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 ilChatroomTaskHandler | |
executeDefault ($requestedMethod) |
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 | ( | ilChatroomObjectGUI | $gui | ) |
Constructor.
Sets $this->gui using given $gui.
ilChatroomObjectGUI | $gui |
Reimplemented from ilChatroomTaskHandler.
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.
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 $ilDB, $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().