|
ILIAS
Release_4_3_x_branch Revision 61807
|
Class ilChatroomBanTask. More...
Inheritance diagram for ilChatroomBanTask:
Collaboration diagram for ilChatroomBanTask:Public Member Functions | |
| __construct (ilDBayObjectGUI $gui) | |
| Constructor. | |
| show () | |
| Displays banned users task. | |
| delete () | |
| Unbans users fetched from $_REQUEST['banned_user_id']. | |
| executeDefault ($method) | |
| Calls $this->show method. | |
| active () | |
| Kicks and bans user, fetched from $_REQUEST['user'] and adds history entry. | |
Public Member Functions inherited from ilDBayTaskHandler | |
| execute ($method) | |
| Executes given $method if existing, otherwise executes executeDefault() method. | |
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 | ( | ilDBayObjectGUI | $gui | ) |
Constructor.
Sets $this->gui using given $gui. Requires ilChatroom.
| ilDBayObjectGUI | $gui |
Reimplemented from ilDBayTaskHandler.
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 101 of file class.ilChatroomBanTask.php.
References $_REQUEST, $ilCtrl, $ilUser, $query, buildMessage(), ilChatroom\byObjectId(), ilChatroom\checkUserPermissions(), exit, and ilUtil\stripSlashes().
Here is the call graph for this function:
|
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 179 of file class.ilChatroomBanTask.php.
References $data.
Referenced by active().
Here is the caller graph for this function:| ilChatroomBanTask::delete | ( | ) |
Unbans users fetched from $_REQUEST['banned_user_id'].
ilCtrl2 $ilCtrl
Definition at line 69 of file class.ilChatroomBanTask.php.
References $_REQUEST, $ilCtrl, and ilChatroom\byObjectId().
Here is the call graph for this function:| ilChatroomBanTask::executeDefault | ( | $method | ) |
Calls $this->show method.
| string | $method |
Reimplemented from ilDBayTaskHandler.
Definition at line 91 of file class.ilChatroomBanTask.php.
References show().
Here is the call graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 17 of file class.ilChatroomBanTask.php.
Referenced by __construct().