ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Class ilChatroomKickTask. More...
Public Member Functions | |
__construct (ilChatroomObjectGUI $gui) | |
Constructor. More... | |
sub () | |
Kicks user from subroom into mainroom. More... | |
recantInvitation ($subroom_id, $user_id) | |
Recant invitation for given $user_id in given $subroom_id. More... | |
![]() | |
__construct (ilChatroomObjectGUI $gui) | |
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. More... | |
Private Attributes | |
$gui | |
ilChatroomKickTask::__construct | ( | ilChatroomObjectGUI | $gui | ) |
Constructor.
Sets $this->gui using given $gui.
ilChatroomObjectGUI | $gui |
Definition at line 25 of file class.ilChatroomKickTask.php.
References $_REQUEST, $gui, $ilCtrl, $ilUser, $query, buildMessage(), ilChatroom\byObjectId(), ilChatroom\checkUserPermissions(), ilChatroomTaskHandler\executeDefault(), exit, and ilUtil\stripSlashes().
|
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.
Referenced by __construct().
ilChatroomKickTask::recantInvitation | ( | $subroom_id, | |
$user_id | |||
) |
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().