ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilChatroomAdmin. More...
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... | |
saveGeneralSettings (stdClass $settings) | |
Saves given $settings into settingsTable. More... | |
saveClientSettings (stdClass $settings) | |
Saves given client $settings into settingsTable. More... | |
loadGeneralSettings () | |
Returns an array containing server settings from settingsTable. More... | |
loadClientSettings () | |
Returns an array containing client settings from settingsTable. More... | |
Static Public Member Functions | |
static | getDefaultConfiguration () |
Instantiates and returns ilChatroomAdmin object using instance_id and settings from settingsTable. More... | |
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 34 of file class.ilChatroomAdmin.php.
References $config_id, $settings, and settings().
|
static |
Instantiates and returns ilChatroomAdmin object using instance_id and settings from settingsTable.
Definition at line 45 of file class.ilChatroomAdmin.php.
References $DIC, $query, and $row.
Referenced by ilChatroomServerConnector\checkServerConnection(), ilObjChatroom\cloneObject(), ilChatroomServerHandler\getConnector(), ilObjChatroomGUI\getConnector(), and ilOnScreenChatAppEventListener\handleEvent().
ilChatroomAdmin::getServerSettings | ( | ) |
Instantiates ilChatroomServerSettings object, sets data using $this->settings->server_settings and returns object.
Definition at line 63 of file class.ilChatroomAdmin.php.
References ilChatroomServerSettings\loadDefault().
ilChatroomAdmin::loadClientSettings | ( | ) |
Returns an array containing client settings from settingsTable.
Definition at line 188 of file class.ilChatroomAdmin.php.
References $DIC, $query, $row, $settings, array, and string.
ilChatroomAdmin::loadGeneralSettings | ( | ) |
Returns an array containing server settings from settingsTable.
Definition at line 165 of file class.ilChatroomAdmin.php.
References $DIC, $query, $row, $settings, and array.
Referenced by ilChatroomAdminViewGUI\clientsettings(), and ilChatroomAdminViewGUI\serversettings().
ilChatroomAdmin::saveClientSettings | ( | stdClass | $settings | ) |
Saves given client $settings into settingsTable.
stdClass | $settings |
Definition at line 114 of file class.ilChatroomAdmin.php.
References $DIC, $res, $row, and array.
Referenced by ilChatroomAdminViewGUI\saveClientSettings().
ilChatroomAdmin::saveGeneralSettings | ( | stdClass | $settings | ) |
Saves given $settings into settingsTable.
stdClass | $settings |
Definition at line 73 of file class.ilChatroomAdmin.php.
References $DIC, $res, $row, and array.
Referenced by ilChatroomAdminViewGUI\saveSettings().
|
private |
Definition at line 25 of file class.ilChatroomAdmin.php.
Referenced by __construct().
|
private |
Definition at line 20 of file class.ilChatroomAdmin.php.
Referenced by __construct(), loadClientSettings(), and loadGeneralSettings().
|
staticprivate |
Definition at line 15 of file class.ilChatroomAdmin.php.