ILIAS
trunk Revision v11.0_alpha-1862-g4e205cb56d4
|
Class ilChatroomAdmin. More...
Public Member Functions | |
__construct (private readonly int $config_id, private readonly ?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... | |
Static Private Attributes | |
static string | $settingsTable = 'chatroom_admconfig' |
ilChatroomAdmin::__construct | ( | private readonly int | $config_id, |
private readonly ?stdClass | $settings = null |
||
) |
Definition at line 31 of file class.ilChatroomAdmin.php.
|
static |
Instantiates and returns ilChatroomAdmin object using instance_id and settings from settingsTable.
Definition at line 40 of file class.ilChatroomAdmin.php.
References $DIC, 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 60 of file class.ilChatroomAdmin.php.
References ilChatroomServerSettings\loadDefault().
ilChatroomAdmin::loadClientSettings | ( | ) |
Definition at line 177 of file class.ilChatroomAdmin.php.
References $DIC, CLIENT_ID, and null.
ilChatroomAdmin::loadGeneralSettings | ( | ) |
Definition at line 153 of file class.ilChatroomAdmin.php.
References $DIC.
Referenced by ilChatroomAdminViewGUI\saveClientSettings().
ilChatroomAdmin::saveClientSettings | ( | stdClass | $settings | ) |
Saves given client $settings into settingsTable.
Definition at line 112 of file class.ilChatroomAdmin.php.
References $DIC, $res, and null.
Referenced by ilChatroomAdminViewGUI\saveClientSettings().
ilChatroomAdmin::saveGeneralSettings | ( | stdClass | $settings | ) |
Saves given $settings into settingsTable.
stdClass | $settings |
Definition at line 69 of file class.ilChatroomAdmin.php.
References $DIC, $res, and null.
|
staticprivate |
Definition at line 29 of file class.ilChatroomAdmin.php.