ILIAS
Release_4_0_x_branch Revision 61816
|
Class ilChatServerConfig. More...
Public Member Functions | |
__construct () | |
Constructor public. | |
setInternalIp ($ip) | |
getInternalIp () | |
setExternalIp ($ip) | |
getExternalIp () | |
setPort ($port) | |
getPort () | |
setSSLStatus ($ssl_status=0) | |
getSSLStatus () | |
setSSLPort ($ssl_port) | |
getSSLPort () | |
setModeratorPassword ($a_passwd) | |
getModeratorPassword () | |
setLogfile ($logfile) | |
getLogfile () | |
setLogLevel ($loglevel) | |
getLogLevel () | |
setAllowedHosts ($hosts) | |
getAllowedHosts () | |
getErrorMessage () | |
setActiveStatus ($status) | |
getActiveStatus () | |
getNic () | |
validate () | |
update () | |
updateStatus () | |
read () | |
isAlive () |
Static Public Member Functions | |
static | _isActive () |
Data Fields | |
$ilias | |
$lng | |
$internal_ip | |
$external_ip | |
$port | |
$ssl_status | |
$ssl_port | |
$moderator | |
$logfile | |
$loglevel | |
$hosts | |
$active | |
$nic | |
$error_message |
Private Member Functions | |
parseAllowedHosts () | |
writeConfigFile () |
Class ilChatServerConfig.
Definition at line 32 of file class.ilChatServerConfig.php.
ilChatServerConfig::__construct | ( | ) |
Constructor public.
integer | reference_id or object_id |
boolean | treat the id as reference_id (true) or object_id (false) |
Definition at line 58 of file class.ilChatServerConfig.php.
References $ilias, $lng, and read().
|
static |
Definition at line 70 of file class.ilChatServerConfig.php.
References $ilias.
Referenced by ilUsersOnlineBlockGUI\fillRow().
ilChatServerConfig::getActiveStatus | ( | ) |
Definition at line 179 of file class.ilChatServerConfig.php.
References $active.
Referenced by updateStatus().
ilChatServerConfig::getAllowedHosts | ( | ) |
Definition at line 164 of file class.ilChatServerConfig.php.
References $hosts.
Referenced by parseAllowedHosts(), update(), and validate().
ilChatServerConfig::getErrorMessage | ( | ) |
Definition at line 169 of file class.ilChatServerConfig.php.
References $error_message.
ilChatServerConfig::getExternalIp | ( | ) |
Definition at line 94 of file class.ilChatServerConfig.php.
References $internal_ip.
Referenced by update(), and validate().
ilChatServerConfig::getInternalIp | ( | ) |
Definition at line 84 of file class.ilChatServerConfig.php.
References $internal_ip.
Referenced by isAlive(), update(), and validate().
ilChatServerConfig::getLogfile | ( | ) |
Definition at line 144 of file class.ilChatServerConfig.php.
References $logfile.
Referenced by update(), and writeConfigFile().
ilChatServerConfig::getLogLevel | ( | ) |
Definition at line 154 of file class.ilChatServerConfig.php.
References $loglevel.
Referenced by update().
ilChatServerConfig::getModeratorPassword | ( | ) |
Definition at line 134 of file class.ilChatServerConfig.php.
References $moderator.
Referenced by update(), and validate().
ilChatServerConfig::getNic | ( | ) |
Definition at line 184 of file class.ilChatServerConfig.php.
ilChatServerConfig::getPort | ( | ) |
Definition at line 104 of file class.ilChatServerConfig.php.
References $port.
Referenced by isAlive(), update(), and validate().
ilChatServerConfig::getSSLPort | ( | ) |
Definition at line 124 of file class.ilChatServerConfig.php.
References $ssl_port.
Referenced by update(), and validate().
ilChatServerConfig::getSSLStatus | ( | ) |
Definition at line 114 of file class.ilChatServerConfig.php.
References $ssl_status.
Referenced by update(), and validate().
ilChatServerConfig::isAlive | ( | ) |
Definition at line 282 of file class.ilChatServerConfig.php.
References getInternalIp(), and getPort().
|
private |
Definition at line 296 of file class.ilChatServerConfig.php.
References getAllowedHosts(), and setAllowedHosts().
Referenced by validate().
ilChatServerConfig::read | ( | ) |
Definition at line 267 of file class.ilChatServerConfig.php.
Referenced by __construct().
ilChatServerConfig::setActiveStatus | ( | $status | ) |
Definition at line 174 of file class.ilChatServerConfig.php.
ilChatServerConfig::setAllowedHosts | ( | $hosts | ) |
Definition at line 159 of file class.ilChatServerConfig.php.
References $hosts.
Referenced by parseAllowedHosts().
ilChatServerConfig::setExternalIp | ( | $ip | ) |
Definition at line 89 of file class.ilChatServerConfig.php.
ilChatServerConfig::setInternalIp | ( | $ip | ) |
Definition at line 79 of file class.ilChatServerConfig.php.
ilChatServerConfig::setLogfile | ( | $logfile | ) |
Definition at line 139 of file class.ilChatServerConfig.php.
References $logfile.
ilChatServerConfig::setLogLevel | ( | $loglevel | ) |
Definition at line 149 of file class.ilChatServerConfig.php.
References $loglevel.
ilChatServerConfig::setModeratorPassword | ( | $a_passwd | ) |
Definition at line 129 of file class.ilChatServerConfig.php.
ilChatServerConfig::setPort | ( | $port | ) |
Definition at line 99 of file class.ilChatServerConfig.php.
References $port.
ilChatServerConfig::setSSLPort | ( | $ssl_port | ) |
Definition at line 119 of file class.ilChatServerConfig.php.
References $ssl_port.
ilChatServerConfig::setSSLStatus | ( | $ssl_status = 0 | ) |
Definition at line 109 of file class.ilChatServerConfig.php.
References $ssl_status.
ilChatServerConfig::update | ( | ) |
Definition at line 246 of file class.ilChatServerConfig.php.
References getAllowedHosts(), getExternalIp(), getInternalIp(), getLogfile(), getLogLevel(), getModeratorPassword(), getPort(), getSSLPort(), getSSLStatus(), and writeConfigFile().
ilChatServerConfig::updateStatus | ( | ) |
Definition at line 261 of file class.ilChatServerConfig.php.
References getActiveStatus().
ilChatServerConfig::validate | ( | ) |
Definition at line 189 of file class.ilChatServerConfig.php.
References getAllowedHosts(), getExternalIp(), getInternalIp(), getModeratorPassword(), getPort(), getSSLPort(), getSSLStatus(), and parseAllowedHosts().
|
private |
Definition at line 313 of file class.ilChatServerConfig.php.
References ilUtil\getDataDir(), getLogfile(), and ilUtil\makeDir().
Referenced by update().
ilChatServerConfig::$active |
Definition at line 46 of file class.ilChatServerConfig.php.
Referenced by getActiveStatus().
ilChatServerConfig::$error_message |
Definition at line 49 of file class.ilChatServerConfig.php.
Referenced by getErrorMessage().
ilChatServerConfig::$external_ip |
Definition at line 38 of file class.ilChatServerConfig.php.
ilChatServerConfig::$hosts |
Definition at line 45 of file class.ilChatServerConfig.php.
Referenced by getAllowedHosts(), and setAllowedHosts().
ilChatServerConfig::$ilias |
Definition at line 34 of file class.ilChatServerConfig.php.
Referenced by __construct(), and _isActive().
ilChatServerConfig::$internal_ip |
Definition at line 37 of file class.ilChatServerConfig.php.
Referenced by getExternalIp(), and getInternalIp().
ilChatServerConfig::$lng |
Definition at line 35 of file class.ilChatServerConfig.php.
Referenced by __construct().
ilChatServerConfig::$logfile |
Definition at line 43 of file class.ilChatServerConfig.php.
Referenced by getLogfile(), and setLogfile().
ilChatServerConfig::$loglevel |
Definition at line 44 of file class.ilChatServerConfig.php.
Referenced by getLogLevel(), and setLogLevel().
ilChatServerConfig::$moderator |
Definition at line 42 of file class.ilChatServerConfig.php.
Referenced by getModeratorPassword().
ilChatServerConfig::$nic |
Definition at line 47 of file class.ilChatServerConfig.php.
ilChatServerConfig::$port |
Definition at line 39 of file class.ilChatServerConfig.php.
ilChatServerConfig::$ssl_port |
Definition at line 41 of file class.ilChatServerConfig.php.
Referenced by getSSLPort(), and setSSLPort().
ilChatServerConfig::$ssl_status |
Definition at line 40 of file class.ilChatServerConfig.php.
Referenced by getSSLStatus(), and setSSLStatus().