Esempio n. 1
0
 /**
  * Set the id of the parent object
  *
  * @param {Number|false} [id=false]
  * @return {Boolean} True if changed, false if stayed the same
  */
 public function setParentID($id)
 {
     $objectsClass = $this->objectsClass;
     return $this->_setParentKey($id ? $objectsClass::getLibraryAndKeyFromID(\Zotero\DataObjectUtilities::checkID($id))->key : false);
 }