| @@ 117-123 (lines=7) @@ | ||
| 114 | Constants::CONTROL_REMOVE_ACE_PERMISSION |
|
| 115 | )); |
|
| 116 | } |
|
| 117 | if (!empty($addAces)) { |
|
| 118 | $queryArray = array_replace($queryArray, $this->convertAclToQueryArray( |
|
| 119 | $addAces, |
|
| 120 | Constants::CONTROL_ADD_ACE_PRINCIPAL, |
|
| 121 | Constants::CONTROL_ADD_ACE_PERMISSION |
|
| 122 | )); |
|
| 123 | } |
|
| 124 | return $queryArray; |
|
| 125 | } |
|
| 126 | ||
| @@ 101-107 (lines=7) @@ | ||
| 98 | $this->convertPolicyIdArrayToQueryArray($policies) |
|
| 99 | ); |
|
| 100 | } |
|
| 101 | if (!empty($removeAces)) { |
|
| 102 | $queryArray = array_replace($queryArray, $this->convertAclToQueryArray( |
|
| 103 | $removeAces, |
|
| 104 | Constants::CONTROL_REMOVE_ACE_PRINCIPAL, |
|
| 105 | Constants::CONTROL_REMOVE_ACE_PERMISSION |
|
| 106 | )); |
|
| 107 | } |
|
| 108 | if (!empty($addAces)) { |
|
| 109 | $queryArray = array_replace($queryArray, $this->convertAclToQueryArray( |
|
| 110 | $addAces, |
|
| @@ 108-114 (lines=7) @@ | ||
| 105 | Constants::CONTROL_REMOVE_ACE_PERMISSION |
|
| 106 | )); |
|
| 107 | } |
|
| 108 | if (!empty($addAces)) { |
|
| 109 | $queryArray = array_replace($queryArray, $this->convertAclToQueryArray( |
|
| 110 | $addAces, |
|
| 111 | Constants::CONTROL_ADD_ACE_PRINCIPAL, |
|
| 112 | Constants::CONTROL_ADD_ACE_PERMISSION |
|
| 113 | )); |
|
| 114 | } |
|
| 115 | if ($contentStream) { |
|
| 116 | $queryArray['content'] = $contentStream; |
|
| 117 | } |
|