예제 #1
0
 public function __construct($username, $password, $address, $nntpusername, $nntppassword)
 {
     parent::__construct();
     $this->username = $username;
     $this->password = $password;
     $this->address = $address;
     $this->nntpusername = $nntpusername;
     $this->nntppassword = $nntppassword;
 }
예제 #2
0
 /**
  * Initializes the object
  */
 public function __construct()
 {
     $this->nonce = uniqid();
     $this->opaque = md5($this->realm);
     parent::__construct();
 }