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