ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
Class ilChatroomAdmin. More...
Public Member Functions | |
__construct (int $config_id, stdClass $settings=null) | |
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 () | |
loadClientSettings () | |
Static Public Member Functions | |
static | getDefaultConfiguration () |
Instantiates and returns ilChatroomAdmin object using instance_id and settings from settingsTable. More... | |
Private Attributes | |
int | $config_id |
stdClass | $settings |
Static Private Attributes | |
static string | $settingsTable = 'chatroom_admconfig' |
ilChatroomAdmin::__construct | ( | int | $config_id, |
stdClass | $settings = null |
||
) |
Definition at line 34 of file class.ilChatroomAdmin.php.
References $config_id, $settings, and ILIAS\Repository\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 ILIAS\Repository\int().
Referenced by ilChatroomServerConnector\checkServerConnection(), ilObjChatroom\cloneObject(), ilObjChatroomGUI\getConnector(), and ilOnScreenChatAppEventListener\handleEvent().
ilChatroomAdmin::getServerSettings | ( | ) |
Instantiates ilChatroomServerSettings object, sets data using $this->settings->server_settings and returns object.
Definition at line 65 of file class.ilChatroomAdmin.php.
References ilChatroomServerSettings\loadDefault().
ilChatroomAdmin::loadClientSettings | ( | ) |
Definition at line 183 of file class.ilChatroomAdmin.php.
References $DIC, $query, $settings, and CLIENT_ID.
ilChatroomAdmin::loadGeneralSettings | ( | ) |
Definition at line 159 of file class.ilChatroomAdmin.php.
References $DIC, $query, and $settings.
Referenced by ilChatroomAdminViewGUI\saveClientSettings().
ilChatroomAdmin::saveClientSettings | ( | stdClass | $settings | ) |
Saves given client $settings into settingsTable.
stdClass | $settings |
Definition at line 118 of file class.ilChatroomAdmin.php.
Referenced by ilChatroomAdminViewGUI\saveClientSettings().
ilChatroomAdmin::saveGeneralSettings | ( | stdClass | $settings | ) |
Saves given $settings into settingsTable.
stdClass | $settings |
Definition at line 74 of file class.ilChatroomAdmin.php.
|
private |
Definition at line 31 of file class.ilChatroomAdmin.php.
Referenced by __construct().
|
private |
Definition at line 32 of file class.ilChatroomAdmin.php.
Referenced by __construct(), loadClientSettings(), and loadGeneralSettings().
|
staticprivate |
Definition at line 29 of file class.ilChatroomAdmin.php.