| @@ 127-133 (lines=7) @@ | ||
| 124 | Constants::CONTROL_REMOVE_ACE_PERMISSION |
|
| 125 | )); |
|
| 126 | } |
|
| 127 | if (!empty($addAces)) { |
|
| 128 | $queryArray = array_replace($queryArray, $this->convertAclToQueryArray( |
|
| 129 | $addAces, |
|
| 130 | Constants::CONTROL_ADD_ACE_PRINCIPAL, |
|
| 131 | Constants::CONTROL_ADD_ACE_PERMISSION |
|
| 132 | )); |
|
| 133 | } |
|
| 134 | return $queryArray; |
|
| 135 | } |
|
| 136 | ||
| @@ 104-110 (lines=7) @@ | ||
| 101 | $this->convertPolicyIdArrayToQueryArray($policies) |
|
| 102 | ); |
|
| 103 | } |
|
| 104 | if (!empty($removeAces)) { |
|
| 105 | $queryArray = array_replace($queryArray, $this->convertAclToQueryArray( |
|
| 106 | $removeAces, |
|
| 107 | Constants::CONTROL_REMOVE_ACE_PRINCIPAL, |
|
| 108 | Constants::CONTROL_REMOVE_ACE_PERMISSION |
|
| 109 | )); |
|
| 110 | } |
|
| 111 | if (!empty($addAces)) { |
|
| 112 | $queryArray = array_replace($queryArray, $this->convertAclToQueryArray( |
|
| 113 | $addAces, |
|
| @@ 111-117 (lines=7) @@ | ||
| 108 | Constants::CONTROL_REMOVE_ACE_PERMISSION |
|
| 109 | )); |
|
| 110 | } |
|
| 111 | if (!empty($addAces)) { |
|
| 112 | $queryArray = array_replace($queryArray, $this->convertAclToQueryArray( |
|
| 113 | $addAces, |
|
| 114 | Constants::CONTROL_ADD_ACE_PRINCIPAL, |
|
| 115 | Constants::CONTROL_ADD_ACE_PERMISSION |
|
| 116 | )); |
|
| 117 | } |
|
| 118 | if ($contentStream) { |
|
| 119 | $queryArray['content'] = $contentStream; |
|
| 120 | } |
|