protected function _secondStep($url, $fp) { $this->_initCurl($url); $this->_curl->outputToFile($fp); $this->_curl->execute(); return TRUE; }
public function download(RM_Map_iEngine $engine, $fp) { PROFILER_IN('download'); $this->_initCurl(M('Map')->getUrl()); $this->addGetParams($engine); $this->_curl->outputToFile($fp); $this->_curl->execute(); PROFILER_OUT('download'); return TRUE; }