@@ 459-461 (lines=3) @@ | ||
456 | ) |
|
457 | ); |
|
458 | ||
459 | if ($changeToken !== null && !$this->getSession()->get(SessionParameter::OMIT_CHANGE_TOKENS, false)) { |
|
460 | $url->getQuery()->modify(array(Constants::PARAM_CHANGE_TOKEN => $changeToken)); |
|
461 | } |
|
462 | ||
463 | $responseData = (array) \json_decode($this->post($url)->getBody(), true); |
|
464 | $newObject = $this->getJsonConverter()->convertObject($responseData); |
|
@@ 952-954 (lines=3) @@ | ||
949 | ) |
|
950 | ); |
|
951 | ||
952 | if ($changeToken !== null && !$this->getSession()->get(SessionParameter::OMIT_CHANGE_TOKENS, false)) { |
|
953 | $url->getQuery()->modify(array(Constants::PARAM_CHANGE_TOKEN => $changeToken)); |
|
954 | } |
|
955 | ||
956 | $responseData = (array) \json_decode( |
|
957 | $this->post($url, array('content' => $contentStream))->getBody(), |
|
@@ 1002-1004 (lines=3) @@ | ||
999 | ||
1000 | $url = $this->getObjectUrl($repositoryId, $objectId); |
|
1001 | ||
1002 | if ($changeToken !== null && !$this->getSession()->get(SessionParameter::OMIT_CHANGE_TOKENS, false)) { |
|
1003 | $url->getQuery()->modify(array(Constants::PARAM_CHANGE_TOKEN => $changeToken)); |
|
1004 | } |
|
1005 | ||
1006 | $queryArray = $this->convertPropertiesToQueryArray($properties); |
|
1007 | $queryArray[Constants::CONTROL_CMISACTION] = Constants::CMISACTION_UPDATE_PROPERTIES; |