Beispiel #1
0
 function __construct($server = null, $username = null, $password = null, $prefix = null)
 {
     $this->server = $server;
     $this->username = $username;
     $this->password = $password;
     $this->prefix = $prefix;
     parent::__construct();
 }
Beispiel #2
0
 function __construct($webserver = null, $webport = 4670, $controlport = 4671, $controlserver = null, $channelbase = '')
 {
     global $config;
     $this->webserver = empty($webserver) ? $config['site']['server'] : $webserver;
     $this->webport = $webport;
     $this->controlport = $controlport;
     $this->controlserver = empty($controlserver) ? $webserver : $controlserver;
     $this->channelbase = $channelbase;
     parent::__construct();
 }