/** * Write a modified item back to the api * * @param Item $item the modified item to be written back * @return Zotero_Response */ public function writeUpdatedItem($item) { if ($item->owningLibrary == null) { $item->associateWithLibrary($this); } return $this->items->writeItem($item); }