ILIAS  Release_4_4_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilChatroomInviteUsersToPrivateRoomTask Class Reference

Class ilChatroomInviteUsersToPrivateRoomTask. More...

+ Inheritance diagram for ilChatroomInviteUsersToPrivateRoomTask:
+ Collaboration diagram for ilChatroomInviteUsersToPrivateRoomTask:

Public Member Functions

 __construct (ilChatroomObjectGUI $gui)
 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 ()

Private Attributes

 $gui

Detailed Description

Constructor & Destructor Documentation

ilChatroomInviteUsersToPrivateRoomTask::__construct ( ilChatroomObjectGUI  $gui)
Parameters
ilChatroomObjectGUI$gui

Reimplemented from ilChatroomTaskHandler.

Definition at line 23 of file class.ilChatroomInviteUsersToPrivateRoomTask.php.

References $gui.

{
$this->gui = $gui;
}

Member Function Documentation

ilChatroomInviteUsersToPrivateRoomTask::byId ( )

Definition at line 50 of file class.ilChatroomInviteUsersToPrivateRoomTask.php.

References $_REQUEST.

{
$this->inviteById($_REQUEST['users']);
}
ilChatroomInviteUsersToPrivateRoomTask::byLogin ( )

Definition at line 42 of file class.ilChatroomInviteUsersToPrivateRoomTask.php.

References $_REQUEST, and ilObjUser\_lookupId().

Referenced by executeDefault().

{
$this->inviteById(ilObjUser::_lookupId($_REQUEST['users']));
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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.

Parameters
string$method

Reimplemented from ilChatroomTaskHandler.

Definition at line 34 of file class.ilChatroomInviteUsersToPrivateRoomTask.php.

References byLogin().

{
$this->byLogin();
}

+ Here is the call graph for this function:

Field Documentation

ilChatroomInviteUsersToPrivateRoomTask::$gui
private

Definition at line 18 of file class.ilChatroomInviteUsersToPrivateRoomTask.php.

Referenced by __construct().


The documentation for this class was generated from the following file: