@@ 147-153 (lines=7) @@ | ||
144 | if ($contentStream) { |
|
145 | $queryArray['content'] = $contentStream; |
|
146 | } |
|
147 | if (!empty($removeAces)) { |
|
148 | $queryArray = array_replace($queryArray, $this->convertAclToQueryArray( |
|
149 | $removeAces, |
|
150 | Constants::CONTROL_REMOVE_ACE_PRINCIPAL, |
|
151 | Constants::CONTROL_REMOVE_ACE_PERMISSION |
|
152 | )); |
|
153 | } |
|
154 | if (!empty($addAces)) { |
|
155 | $queryArray = array_replace($queryArray, $this->convertAclToQueryArray( |
|
156 | $addAces, |
|
@@ 154-160 (lines=7) @@ | ||
151 | Constants::CONTROL_REMOVE_ACE_PERMISSION |
|
152 | )); |
|
153 | } |
|
154 | if (!empty($addAces)) { |
|
155 | $queryArray = array_replace($queryArray, $this->convertAclToQueryArray( |
|
156 | $addAces, |
|
157 | Constants::CONTROL_ADD_ACE_PRINCIPAL, |
|
158 | Constants::CONTROL_ADD_ACE_PERMISSION |
|
159 | )); |
|
160 | } |
|
161 | if ($versioningState !== null) { |
|
162 | $queryArray[Constants::PARAM_VERSIONING_STATE] = (string) $versioningState; |
|
163 | } |
|
@@ 220-226 (lines=7) @@ | ||
217 | $this->convertPropertiesToQueryArray($properties), |
|
218 | $this->convertPolicyIdArrayToQueryArray($policies) |
|
219 | ); |
|
220 | if (!empty($removeAces)) { |
|
221 | $queryArray = array_replace($queryArray, $this->convertAclToQueryArray( |
|
222 | $removeAces, |
|
223 | Constants::CONTROL_REMOVE_ACE_PRINCIPAL, |
|
224 | Constants::CONTROL_REMOVE_ACE_PERMISSION |
|
225 | )); |
|
226 | } |
|
227 | if (!empty($addAces)) { |
|
228 | $queryArray = array_replace($queryArray, $this->convertAclToQueryArray( |
|
229 | $addAces, |
|
@@ 227-233 (lines=7) @@ | ||
224 | Constants::CONTROL_REMOVE_ACE_PERMISSION |
|
225 | )); |
|
226 | } |
|
227 | if (!empty($addAces)) { |
|
228 | $queryArray = array_replace($queryArray, $this->convertAclToQueryArray( |
|
229 | $addAces, |
|
230 | Constants::CONTROL_ADD_ACE_PRINCIPAL, |
|
231 | Constants::CONTROL_ADD_ACE_PERMISSION |
|
232 | )); |
|
233 | } |
|
234 | if ($versioningState !== null) { |
|
235 | $queryArray[Constants::PARAM_VERSIONING_STATE] = (string) $versioningState; |
|
236 | } |