コード例 #1
0
ファイル: DataObject.inc.php プロジェクト: selenus/dataserver
 /**
  * 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);
 }