Esempio n. 1
0
 function __construct($config)
 {
     parent::__construct($config);
     $this->Http =& new HttpSocket();
     $this->userName = $this->config['username'];
     $this->password = $this->config['password'];
     $this->signature = $this->config['signature'];
     $this->environment = $this->config['environment'];
     $this->currency = $this->config['currency'];
 }
 public function __construct($config)
 {
     $auth = "{$config['login']}:{$config['password']}";
     $this->connection = new HttpSocket("http://{$auth}@twitter.com/");
     parent::__construct($config);
 }