| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
Class ilChatroomServerConnector. More...
 Collaboration diagram for ilChatroomServerConnector:Public Member Functions | |
| __construct (private readonly ilChatroomServerSettings $settings) | |
| isServerAlive () | |
| connect (int $scope, int $userId) | |
| Creates connect URL using given $scope and $userId and returns it.  More... | |
| sendCreatePrivateRoom (int $scope, int $user, string $title) | |
| enterPrivateRoom (int $scope, int $user) | |
| sendEnterPrivateRoom (int $scope, int $user) | |
| sendClearMessages (int $scope, int $user) | |
| leavePrivateRoom (int $scope, int $user) | |
| sendLeavePrivateRoom (int $scope, int $user) | |
| sendKick (int $scope, int $user) | |
| kick (int $scope, int $user) | |
| Returns kick URL Creates kick URL using given $scope and $query and returns it.  More... | |
| sendBan (int $scope, int $user) | |
| getSettings () | |
| sendInviteToPrivateRoom (int $scope, int $user, int $invited_id) | |
| sendUserConfigChange (string $message) | |
Static Public Member Functions | |
| static | checkServerConnection (bool $use_cache=true) | 
Protected Member Functions | |
| file_get_contents (string $url, ?array $stream_context_params=null) | |
Static Protected Attributes | |
| static bool | $connection_status = null | 
Class ilChatroomServerConnector.
Definition at line 27 of file class.ilChatroomServerConnector.php.
| ilChatroomServerConnector::__construct | ( | private readonly ilChatroomServerSettings | $settings | ) | 
Definition at line 31 of file class.ilChatroomServerConnector.php.
      
  | 
  static | 
Definition at line 35 of file class.ilChatroomServerConnector.php.
References ilChatroomAdmin\getDefaultConfiguration().
Referenced by ilChatroomAdminViewGUI\checkServerConnection().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilChatroomServerConnector::connect | ( | int | $scope, | 
| int | $userId | ||
| ) | 
Creates connect URL using given $scope and $userId and returns it.
Definition at line 74 of file class.ilChatroomServerConnector.php.
References file_get_contents(), and ILIAS\Repository\settings().
 Here is the call graph for this function:| ilChatroomServerConnector::enterPrivateRoom | ( | int | $scope, | 
| int | $user | ||
| ) | 
Definition at line 138 of file class.ilChatroomServerConnector.php.
References sendEnterPrivateRoom().
 Here is the call graph for this function:
      
  | 
  protected | 
| array | null | $stream_context_params | 
Definition at line 85 of file class.ilChatroomServerConnector.php.
References Vendor\Package\$e, $message, ilLoggerFactory\getLogger(), and ILIAS\Repository\settings().
Referenced by connect(), isServerAlive(), kick(), sendBan(), sendClearMessages(), sendCreatePrivateRoom(), sendEnterPrivateRoom(), sendInviteToPrivateRoom(), sendLeavePrivateRoom(), and sendUserConfigChange().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilChatroomServerConnector::getSettings | ( | ) | 
Definition at line 211 of file class.ilChatroomServerConnector.php.
References ILIAS\LTI\ToolProvider\$settings.
| ilChatroomServerConnector::isServerAlive | ( | ) | 
Definition at line 47 of file class.ilChatroomServerConnector.php.
References $response, file_get_contents(), ILIAS\Repository\int(), and ILIAS\Repository\settings().
 Here is the call graph for this function:| ilChatroomServerConnector::kick | ( | int | $scope, | 
| int | $user | ||
| ) | 
Returns kick URL Creates kick URL using given $scope and $query and returns it.
Definition at line 194 of file class.ilChatroomServerConnector.php.
References file_get_contents(), and ILIAS\Repository\settings().
Referenced by sendKick().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilChatroomServerConnector::leavePrivateRoom | ( | int | $scope, | 
| int | $user | ||
| ) | 
Definition at line 166 of file class.ilChatroomServerConnector.php.
References sendLeavePrivateRoom().
 Here is the call graph for this function:| ilChatroomServerConnector::sendBan | ( | int | $scope, | 
| int | $user | ||
| ) | 
Definition at line 204 of file class.ilChatroomServerConnector.php.
References file_get_contents(), and ILIAS\Repository\settings().
 Here is the call graph for this function:| ilChatroomServerConnector::sendClearMessages | ( | int | $scope, | 
| int | $user | ||
| ) | 
Definition at line 156 of file class.ilChatroomServerConnector.php.
References file_get_contents(), and ILIAS\Repository\settings().
 Here is the call graph for this function:| ilChatroomServerConnector::sendCreatePrivateRoom | ( | int | $scope, | 
| int | $user, | ||
| string | $title | ||
| ) | 
Definition at line 126 of file class.ilChatroomServerConnector.php.
References file_get_contents(), and ILIAS\Repository\settings().
 Here is the call graph for this function:| ilChatroomServerConnector::sendEnterPrivateRoom | ( | int | $scope, | 
| int | $user | ||
| ) | 
Definition at line 146 of file class.ilChatroomServerConnector.php.
References file_get_contents(), and ILIAS\Repository\settings().
Referenced by enterPrivateRoom().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilChatroomServerConnector::sendInviteToPrivateRoom | ( | int | $scope, | 
| int | $user, | ||
| int | $invited_id | ||
| ) | 
Definition at line 219 of file class.ilChatroomServerConnector.php.
References file_get_contents(), and ILIAS\Repository\settings().
 Here is the call graph for this function:| ilChatroomServerConnector::sendKick | ( | int | $scope, | 
| int | $user | ||
| ) | 
Definition at line 184 of file class.ilChatroomServerConnector.php.
References kick().
 Here is the call graph for this function:| ilChatroomServerConnector::sendLeavePrivateRoom | ( | int | $scope, | 
| int | $user | ||
| ) | 
Definition at line 174 of file class.ilChatroomServerConnector.php.
References file_get_contents(), and ILIAS\Repository\settings().
Referenced by leavePrivateRoom().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilChatroomServerConnector::sendUserConfigChange | ( | string | $message | ) | 
Definition at line 230 of file class.ilChatroomServerConnector.php.
References file_get_contents(), and ILIAS\Repository\settings().
 Here is the call graph for this function:
      
  | 
  staticprotected | 
Definition at line 29 of file class.ilChatroomServerConnector.php.