ILIAS
Release_4_2_x_branch Revision 61807
|
Class ilChatroomInviteUsersToPrivateRoomTask. More...
Public Member Functions | |
__construct (ilDBayObjectGUI $gui) | |
Constructor. | |
executeDefault ($method) | |
Prepares and posts message fetched from $_REQUEST['message'] to recipients fetched from $_REQUEST['recipient'] and adds an entry to history if successful. | |
byLogin () | |
byId () | |
Public Member Functions inherited from ilDBayTaskHandler | |
execute ($method) | |
Executes given $method if existing, otherwise executes executeDefault() method. |
Private Member Functions | |
inviteById ($invited_id) |
Private Attributes | |
$gui |
Class ilChatroomInviteUsersToPrivateRoomTask.
Definition at line 15 of file class.ilChatroomInviteUsersToPrivateRoomTask.php.
ilChatroomInviteUsersToPrivateRoomTask::__construct | ( | ilDBayObjectGUI | $gui | ) |
Constructor.
Sets $this->gui using given $gui
ilDBayObjectGUI | $gui |
Reimplemented from ilDBayTaskHandler.
Definition at line 27 of file class.ilChatroomInviteUsersToPrivateRoomTask.php.
References $gui.
ilChatroomInviteUsersToPrivateRoomTask::byId | ( | ) |
Definition at line 50 of file class.ilChatroomInviteUsersToPrivateRoomTask.php.
References $_REQUEST, and inviteById().
ilChatroomInviteUsersToPrivateRoomTask::byLogin | ( | ) |
Definition at line 46 of file class.ilChatroomInviteUsersToPrivateRoomTask.php.
References $_REQUEST, ilObjUser\_lookupId(), and inviteById().
Referenced by executeDefault().
ilChatroomInviteUsersToPrivateRoomTask::executeDefault | ( | $method | ) |
Prepares and posts message fetched from $_REQUEST['message'] to recipients fetched from $_REQUEST['recipient'] and adds an entry to history if successful.
ilTemplate $tpl ilObjUser $ilUser
string | $method |
Reimplemented from ilDBayTaskHandler.
Definition at line 41 of file class.ilChatroomInviteUsersToPrivateRoomTask.php.
References byLogin().
|
private |
Definition at line 54 of file class.ilChatroomInviteUsersToPrivateRoomTask.php.
References $_REQUEST, $result, $tpl, ilChatroom\byObjectId(), ilChatroom\checkUserPermissions(), exit, and ilUtil\redirect().
Referenced by byId(), and byLogin().
|
private |
Definition at line 18 of file class.ilChatroomInviteUsersToPrivateRoomTask.php.
Referenced by __construct().