|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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... | |
| 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().
Here is the call graph for this function:
|
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, $row, and $settingsTable.
Referenced by ilChatroomServerConnector\checkServerConnection(), ilObjChatroom\cloneObject(), ilChatroomServerHandler\getConnector(), ilObjChatroomGUI\getConnector(), and ilOnScreenChatAppEventListener\handleEvent().
Here is the caller graph for this function:| 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().
Here is the call graph for this function:| ilChatroomAdmin::loadClientSettings | ( | ) |
Returns an array containing client settings from settingsTable.
Definition at line 192 of file class.ilChatroomAdmin.php.
| ilChatroomAdmin::loadGeneralSettings | ( | ) |
Returns an array containing server settings from settingsTable.
Definition at line 165 of file class.ilChatroomAdmin.php.
| ilChatroomAdmin::saveClientSettings | ( | stdClass | $settings | ) |
Saves given client $settings into settingsTable.
| stdClass | $settings |
Definition at line 114 of file class.ilChatroomAdmin.php.
| ilChatroomAdmin::saveGeneralSettings | ( | stdClass | $settings | ) |
Saves given $settings into settingsTable.
| stdClass | $settings |
Definition at line 73 of file class.ilChatroomAdmin.php.
|
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(), loadGeneralSettings(), saveClientSettings(), and saveGeneralSettings().
|
staticprivate |
Definition at line 15 of file class.ilChatroomAdmin.php.
Referenced by getDefaultConfiguration().