ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f87
ilChatroomAdmin Class Reference

Class ilChatroomAdmin. More...

+ Collaboration diagram for ilChatroomAdmin:

Public Member Functions

 __construct ($config_id, stdClass $settings=null)
 Constructor Sets $this->config_id and $this->settings using given $config_id and $settings. More...
 
 getServerSettings ()
 Instantiates ilChatroomServerSettings object, sets data using $this->settings->server_settings and returns object. More...
 

Private Attributes

 $settings
 
 $config_id
 

Static Private Attributes

static $settingsTable = 'chatroom_admconfig'
 

Detailed Description

Class ilChatroomAdmin.

Author
Jan Posselt jposs.nosp@m.elt@.nosp@m.datab.nosp@m.ay.d.nosp@m.e
Version
$Id$

Definition at line 10 of file class.ilChatroomAdmin.php.

Constructor & Destructor Documentation

◆ __construct()

ilChatroomAdmin::__construct (   $config_id,
stdClass  $settings = null 
)

Constructor Sets $this->config_id and $this->settings using given $config_id and $settings.

Parameters
integer$config_id
stdClass$settings

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

References $config_id, $ilDB, $query, $row, and $settings.

35  {
36  $this->config_id = $config_id;
37  $this->settings = $settings;
38  }

Member Function Documentation

◆ getServerSettings()

ilChatroomAdmin::getServerSettings ( )

Instantiates ilChatroomServerSettings object, sets data using $this->settings->server_settings and returns object.

Returns
ilChatroomServerSettings

Definition at line 67 of file class.ilChatroomAdmin.php.

References $ilDB, $query, $res, $row, $settings, and ilChatroomServerSettings\loadDefault().

68  {
69  require_once 'Modules/Chatroom/classes/class.ilChatroomServerSettings.php';
71  }
+ Here is the call graph for this function:

Field Documentation

◆ $config_id

ilChatroomAdmin::$config_id
private

Definition at line 25 of file class.ilChatroomAdmin.php.

Referenced by __construct().

◆ $settings

ilChatroomAdmin::$settings
private

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

Referenced by __construct(), and getServerSettings().

◆ $settingsTable

ilChatroomAdmin::$settingsTable = 'chatroom_admconfig'
staticprivate

Definition at line 15 of file class.ilChatroomAdmin.php.


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