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