ILIAS
Release_5_0_x_branch Revision 61816
|
Class ilChatroomBanTask. More...
Public Member Functions | |
__construct (ilChatroomObjectGUI $gui) | |
Constructor. | |
show () | |
Displays banned users task. | |
executeDefault ($method) | |
Calls $this->show method. | |
active () | |
Kicks and bans user, fetched from $_REQUEST['user'] and adds history entry. |
Private Member Functions | |
buildMessage ($messageString, ilChatroomUser $user) | |
Instantiates stdClass, sets $data->user and $data->userToKick using given $messageString and $chat_user and returns $data. |
Private Attributes | |
$gui |
ilChatroomBanTask::__construct | ( | ilChatroomObjectGUI | $gui | ) |
Constructor.
Sets $this->gui using given $gui. Requires ilChatroom.
ilChatroomObjectGUI | $gui |
Reimplemented from ilChatroomTaskHandler.
Definition at line 27 of file class.ilChatroomBanTask.php.
References $gui.
ilChatroomBanTask::active | ( | ) |
Kicks and bans user, fetched from $_REQUEST['user'] and adds history entry.
ilObjUser $ilUser
Definition at line 106 of file class.ilChatroomBanTask.php.
References $_REQUEST, $ilCtrl, $ilUser, $query, buildMessage(), ilChatroom\byObjectId(), ilChatroom\checkUserPermissions(), 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 | $user |
Definition at line 184 of file class.ilChatroomBanTask.php.
Referenced by active().
ilChatroomBanTask::executeDefault | ( | $method | ) |
Calls $this->show method.
string | $method |
Reimplemented from ilChatroomTaskHandler.
Definition at line 96 of file class.ilChatroomBanTask.php.
References show().
ilChatroomBanTask::show | ( | ) |
Displays banned users task.
ilCtrl2 $ilCtrl
Definition at line 38 of file class.ilChatroomBanTask.php.
References $ilCtrl, ilChatroom\byObjectId(), and ilChatroom\checkUserPermissions().
Referenced by executeDefault().
|
private |
Definition at line 17 of file class.ilChatroomBanTask.php.
Referenced by __construct().