ILIAS  release_4-4 Revision
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. More...
 
 byLogin ()
 
 byId ()
 
- Public Member Functions inherited from ilChatroomTaskHandler
 __construct (ilChatroomObjectGUI $gui)
 
 executeDefault ($requestedMethod)
 

Private Attributes

 $gui
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilChatroomInviteUsersToPrivateRoomTask::__construct ( ilChatroomObjectGUI  $gui)

Member Function Documentation

◆ byId()

ilChatroomInviteUsersToPrivateRoomTask::byId ( )

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

References $_REQUEST, $ilCtrl, $ilUser, $result, ilChatroom\byObjectId(), ilChatroom\checkUserPermissions(), exit, ilUserAutoComplete\PRIVACY_MODE_RESPECT_USER_SETTING, and ilUserAutoComplete\SEARCH_TYPE_EQUALS.

51  {
52  $this->inviteById($_REQUEST['users']);
53  }
if($_REQUEST['ilias_path']) define('ILIAS_HTTP_PATH' $_REQUEST['ilias_path']
Definition: index.php:7
+ Here is the call graph for this function:

◆ byLogin()

ilChatroomInviteUsersToPrivateRoomTask::byLogin ( )

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

References $_REQUEST, and ilObjUser\_lookupId().

Referenced by executeDefault().

43  {
44  $this->inviteById(ilObjUser::_lookupId($_REQUEST['users']));
45  }
static _lookupId($a_user_str)
lookup id by login
if($_REQUEST['ilias_path']) define('ILIAS_HTTP_PATH' $_REQUEST['ilias_path']
Definition: index.php:7
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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

Parameters
string$method

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

References byLogin().

+ Here is the call graph for this function:

Field Documentation

◆ $gui

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: