public function execute($response) { parent::execute($response); $this->getResultCollection()->merge($this->getExistingCategories()); $this->getResultCollection()->synchronizeFromArray($this->getResponseArray()); return $this->getResultCollection(); }
public function execute($response) { parent::execute($response); $this->transientNewItemsCreate(); foreach ($this->getResultCollection() as $pic) { $pic->save(); } }
public function execute($response) { parent::execute($response); $this->transientExistingItemsDelete(); # find items not present in XML, put status DROPPED $this->transientExistingItemsUpdate(); # find items present in XML and DB, syncronize DB fields $this->transientNewItemsCreate(); # find items not present in DB, create new objects foreach ($this->getResultCollection() as $item) { $item->save(); } }
public function execute($response) { parent::execute($response); $this->setResponseArray($this->convertResponse2Array()); unset($this->response); }
public function execute($response) { parent::execute($response); $this->createXMLQueueFiles(); }