ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilChatroomServerConnectorMock Class Reference

Class ilChatroomServerConnectorMock. More...

+ Inheritance diagram for ilChatroomServerConnectorMock:
+ Collaboration diagram for ilChatroomServerConnectorMock:

Public Member Functions

 __construct ()
 
 setError ($error)
 
- Public Member Functions inherited from ilChatroomServerConnector
 __construct (ilChatroomServerSettings $settings)
 Constructor Sets $this->settings using given $settings. More...
 
 isServerAlive ()
 
 connect ($scope, $userId)
 Returns connect URL Creates connect URL using given $scope and $userId and returns it. More...
 
 sendCreatePrivateRoom ($scope, $subScope, $user, $title)
 
 sendDeletePrivateRoom ($scope, $subScope, $user)
 
 enterPrivateRoom ($scope, $subScope, $user)
 
 sendEnterPrivateRoom ($scope, $subScope, $user)
 
 sendClearMessages ($scope, $subScope, $user)
 
 leavePrivateRoom ($scope, $subScope, $user)
 
 sendLeavePrivateRoom ($scope, $subScope, $user)
 
 sendKick ($scope, $subScope, $user)
 
 kick ($scope, $subScope, $user)
 Returns kick URL Creates kick URL using given $scope and $query and returns it. More...
 
 sendBan ($scope, $subScope, $user)
 
 getSettings ()
 Returns $this->settings. More...
 
 sendMessage ($scope, $message, $options=array())
 Returns if given message is sucessfully sent. More...
 
 post ($scope, $query)
 Returns post URL Creates post URL using given $scope and $query and returns it. More...
 
 sendInviteToPrivateRoom ($scope, $subScope, $user, $invited_id)
 
 createUniqueScopeId ($roomId, $pRoomId=null)
 
 sendUserConfigChange ($message)
 

Protected Attributes

 $error
 

Additional Inherited Members

- Static Public Member Functions inherited from ilChatroomServerConnector
static checkServerConnection ($use_cache=true)
 
- Protected Member Functions inherited from ilChatroomServerConnector
 file_get_contents ($url, array $stream_context_params=null)
 
- Static Protected Attributes inherited from ilChatroomServerConnector
static $connection_status = null
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilChatroomServerConnectorMock::__construct ( )

Definition at line 11 of file class.ilChatroomServerConnectorMock.php.

References ilChatroomServerConnector\$settings.

12  {
14  parent::__construct($settings);
15  }
Class ilChatroomServerSettings.

Member Function Documentation

◆ setError()

ilChatroomServerConnectorMock::setError (   $error)
Parameters
boolean$error

Definition at line 20 of file class.ilChatroomServerConnectorMock.php.

References $error.

Field Documentation

◆ $error

ilChatroomServerConnectorMock::$error
protected

Definition at line 9 of file class.ilChatroomServerConnectorMock.php.

Referenced by setError().


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