ILIAS  release_4-3 Revision
 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 (ilDBayObjectGUI $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 ()
- Public Member Functions inherited from ilDBayTaskHandler
 execute ($method)
 Executes given $method if existing, otherwise executes executeDefault() method.

Private Attributes

 $gui

Detailed Description

Constructor & Destructor Documentation

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

Reimplemented from ilDBayTaskHandler.

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 ilDBayTaskHandler.

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: