@@ -49,6 +49,9 @@ |
||
| 49 | 49 | return $response->withJson($groups); |
| 50 | 50 | } |
| 51 | 51 | |
| 52 | + /** |
|
| 53 | + * @param boolean $directOnly |
|
| 54 | + */ |
|
| 52 | 55 | private function expandGroupMembers($group, $odata, $directOnly) |
| 53 | 56 | { |
| 54 | 57 | if($odata->expand !== false && in_array('member', $odata->expand)) |
@@ -38,6 +38,9 @@ discard block |
||
| 38 | 38 | return $response->withJson($users); |
| 39 | 39 | } |
| 40 | 40 | |
| 41 | + /** |
|
| 42 | + * @param boolean $message |
|
| 43 | + */ |
|
| 41 | 44 | protected function validateCanCreateUser($proposedUser, $auth, &$message) |
| 42 | 45 | { |
| 43 | 46 | $user = $auth->getUsersByFilter(new \Flipside\Data\Filter('mail eq '.$proposedUser['mail'])); |
@@ -218,6 +221,9 @@ discard block |
||
| 218 | 221 | } |
| 219 | 222 | } |
| 220 | 223 | |
| 224 | + /** |
|
| 225 | + * @param Exception $e |
|
| 226 | + */ |
|
| 221 | 227 | protected function exceptionCodeToHttpCode($e) |
| 222 | 228 | { |
| 223 | 229 | if($e->getCode() === 3) |
@@ -369,6 +375,10 @@ discard block |
||
| 369 | 375 | return $response->withJson(array('success'=>true)); |
| 370 | 376 | } |
| 371 | 377 | |
| 378 | + /** |
|
| 379 | + * @param Flipside\Data\Filter $filter |
|
| 380 | + * @param boolean $pending |
|
| 381 | + */ |
|
| 372 | 382 | protected function getAllUsersByFilter($filter, &$pending) |
| 373 | 383 | { |
| 374 | 384 | $auth = \Flipside\AuthProvider::getInstance(); |