» Details |
---|
|
» Comment |
In setYadisUrl(): I don't think PEAR has any defined standard for cascading method calls, but putting them in seperate line is kind of weird to me. With HTTP_Request you need the ability to pass some options to the constructor, for instance: $options('httpOptions'=>array('timeout'=>12, 'proxy_host' => '123.45.67.89')) to your constructor, and then in the code new HTTP_Request($url, $this->_options['httpOptions']); |