public function __construct($url=NULL,$outputType=NULL) { if($outputType == NULL) $this->output_type = 'xml'; else $this->output_type='json'; parent::new_request(($url?$url:self::$api_url)); }
public function __construct($url=NULL) { $this->output_type = 'xml'; parent::new_request(($url?$url:self::$api_url)); }
public function __construct($url = null) { $this->output_type = 'xml'; parent::new_request($url ? $url : self::$api_url); // self::discover_api(); }
public function __construct($url=NULL) { parent::new_request(($url?$url:self::$api_url)); }