Add a private parameter to store the API key, then a public function to set
the API key:
public function setAPIKey($key) {
if (!empty($key)) {
$this->APIKey = $key;
}
}
Then add it to __call() as an optional parameter and add it to the URL as
an extra parameter as well (&key=$this->APIKey)
Original issue reported on code.google.com by ywarn...@gmail.com on 26 Jul 2009 at 3:32
Original issue reported on code.google.com by
ywarn...@gmail.com
on 26 Jul 2009 at 3:32