89 public function getURL($action, $scope)
92 '/backend/' . $action .
'/' . $this->
getInstance() .
'/' . $scope;
129 $this->smilies_enabled = $a_bool;
133 return (
bool) $this->smilies_enabled;
139 $query =
'SELECT * FROM chatroom_admconfig';
140 $rset = $ilDB->query(
$query);
141 $row = $ilDB->fetchAssoc($rset);
143 $client_settings = json_decode(
$row[
'client_settings']);
144 $server_settings = json_decode(
$row[
'server_settings']);
147 $settings->setPort($server_settings->port);
148 $settings->setProtocol($server_settings->protocol);
149 $settings->setInstance($client_settings->name);
150 $settings->setDomain($server_settings->address);
151 $settings->setSmiliesEnabled($client_settings->enable_smilies);