ILIAS
Release_4_2_x_branch Revision 61807
|
Class ilChatroomAdmin. More...
Public Member Functions | |
__construct ($config_id, stdClass $settings=null) | |
Constructor. | |
getServerSettings () | |
Instantiates ilChatroomServerSettings object, sets data using $this->settings->server_settings and returns object. | |
saveGeneralSettings (stdClass $settings) | |
Saves given $settings into settingsTable. | |
saveClientSettings (stdClass $settings) | |
Saves given client $settings into settingsTable. | |
loadGeneralSettings () | |
Returns an array containing server settings from settingsTable. | |
loadClientSettings () | |
Returns an array containing client settings from settingsTable. |
Static Public Member Functions | |
static | getDefaultConfiguration () |
Instantiates and returns ilChatroomAdmin object using instance_id and settings from settingsTable. |
Private Attributes | |
$settings | |
$config_id |
Static Private Attributes | |
static | $settingsTable = 'chatroom_admconfig' |
ilChatroomAdmin::__construct | ( | $config_id, | |
stdClass | $settings = null |
||
) |
Constructor.
Sets $this->config_id and $this->settings using given $config_id and $settings
integer | $config_id | |
stdClass | $settings |
Definition at line 29 of file class.ilChatroomAdmin.php.
References $config_id, and $settings.
|
static |
Instantiates and returns ilChatroomAdmin object using instance_id and settings from settingsTable.
ilDBMySQL $ilDB
Definition at line 42 of file class.ilChatroomAdmin.php.
References $ilDB, $query, $row, and $settingsTable.
Referenced by ilChatroomServerConnector\checkServerConnection(), ilChatroomServerHandler\getConnector(), and ilObjChatroomGUI\getConnector().
ilChatroomAdmin::getServerSettings | ( | ) |
Instantiates ilChatroomServerSettings object, sets data using $this->settings->server_settings and returns object.
Definition at line 64 of file class.ilChatroomAdmin.php.
References ilChatroomServerSettings\loadDefault().
ilChatroomAdmin::loadClientSettings | ( | ) |
Returns an array containing client settings from settingsTable.
ilDBMySQL $ilDB
Definition at line 194 of file class.ilChatroomAdmin.php.
ilChatroomAdmin::loadGeneralSettings | ( | ) |
Returns an array containing server settings from settingsTable.
ilDBMySQL $ilDB
Definition at line 173 of file class.ilChatroomAdmin.php.
References $ilDB, $query, and $row.
Referenced by ilChatroomViewTask\serversettings().
ilChatroomAdmin::saveClientSettings | ( | stdClass | $settings | ) |
Saves given client $settings into settingsTable.
ilDBMySQL $ilDB
stdClass | $settings |
Definition at line 130 of file class.ilChatroomAdmin.php.
References $ilDB, $res, and $row.
Referenced by ilChatroomViewTask\saveClientSettings().
ilChatroomAdmin::saveGeneralSettings | ( | stdClass | $settings | ) |
Saves given $settings into settingsTable.
ilDBMySQL $ilDB
stdClass | $settings |
Definition at line 86 of file class.ilChatroomAdmin.php.
References $ilDB, $res, and $row.
Referenced by ilChatroomViewTask\saveSettings().
|
private |
Definition at line 18 of file class.ilChatroomAdmin.php.
Referenced by __construct().
|
private |
Definition at line 17 of file class.ilChatroomAdmin.php.
Referenced by __construct().
|
staticprivate |
Definition at line 16 of file class.ilChatroomAdmin.php.
Referenced by getDefaultConfiguration().