Exemplo n.º 1
0
 protected function _secondStep($url, $fp)
 {
     $this->_initCurl($url);
     $this->_curl->outputToFile($fp);
     $this->_curl->execute();
     return TRUE;
 }
Exemplo n.º 2
0
 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;
 }