@@ 448-450 (lines=3) @@ | ||
445 | ) |
|
446 | ); |
|
447 | ||
448 | if ($changeToken !== null && !$this->getSession()->get(SessionParameter::OMIT_CHANGE_TOKENS, false)) { |
|
449 | $url->getQuery()->modify(array(Constants::PARAM_CHANGE_TOKEN => $changeToken)); |
|
450 | } |
|
451 | ||
452 | $responseData = $this->post($url)->json(); |
|
453 | $newObject = $this->getJsonConverter()->convertObject($responseData); |
|
@@ 874-876 (lines=3) @@ | ||
871 | ) |
|
872 | ); |
|
873 | ||
874 | if ($changeToken !== null && !$this->getSession()->get(SessionParameter::OMIT_CHANGE_TOKENS, false)) { |
|
875 | $url->getQuery()->modify(array(Constants::PARAM_CHANGE_TOKEN => $changeToken)); |
|
876 | } |
|
877 | ||
878 | $responseData = $this->post( |
|
879 | $url, |
|
@@ 922-924 (lines=3) @@ | ||
919 | ||
920 | $url = $this->getObjectUrl($repositoryId, $objectId); |
|
921 | ||
922 | if ($changeToken !== null && !$this->getSession()->get(SessionParameter::OMIT_CHANGE_TOKENS, false)) { |
|
923 | $url->getQuery()->modify(array(Constants::PARAM_CHANGE_TOKEN => $changeToken)); |
|
924 | } |
|
925 | ||
926 | $queryArray = $this->convertPropertiesToQueryArray($properties); |
|
927 | $queryArray[Constants::CONTROL_CMISACTION] = Constants::CMISACTION_UPDATE_PROPERTIES; |