Beispiel #1
0
 /**
  * Update product info -- TODO: phase it out -- use save() instead
  *
  * @param  void
  * @return object	info
  */
 public function update()
 {
     $this->verify();
     $warehouse = new Warehouse();
     $return = $warehouse->updateProduct($this);
     $this->load();
     return $return;
 }