Ejemplo n.º 1
0
 public function updateItemsFromEbay($id)
 {
     $sm = new ListingsModel();
     if (is_array($id)) {
         foreach ($id as $single_id) {
             $this->lastResults[] = $sm->updateItemDetails($single_id, $this->session);
         }
         $this->processLastResults();
     } else {
         $this->lastResults[] = $sm->updateItemDetails($id, $this->session);
         $this->processLastResults();
         return $this->lastResults;
     }
 }