|
@@ 265-273 (lines=9) @@
|
| 262 |
|
* |
| 263 |
|
* @return array|false An array of Auth\User objects or false if no users were found |
| 264 |
|
*/ |
| 265 |
|
public function getUsersByFilter($filter, $select=false, $top=false, $skip=false, $orderby=false, $methodName = false) |
| 266 |
|
{ |
| 267 |
|
if($methodName === false) |
| 268 |
|
{ |
| 269 |
|
return $this->callOnEach('getUsersByFilter', array($filter, $select, $top, $skip, $orderby), 'current'); |
| 270 |
|
} |
| 271 |
|
$auth = $this->getAuthenticator($methodName); |
| 272 |
|
return $auth->getUsersByFilter($filter, $select, $top, $skip, $orderby); |
| 273 |
|
} |
| 274 |
|
|
| 275 |
|
/** |
| 276 |
|
* Get an array of Auth\PendingUser from a filtered set |
|
@@ 287-295 (lines=9) @@
|
| 284 |
|
* |
| 285 |
|
* @return array|false An array of Auth\PendingUser objects or false if no pending users were found |
| 286 |
|
*/ |
| 287 |
|
public function getPendingUsersByFilter($filter, $select=false, $top=false, $skip=false, $orderby=false, $methodName = false) |
| 288 |
|
{ |
| 289 |
|
if($methodName === false) |
| 290 |
|
{ |
| 291 |
|
return $this->callOnEach('getPendingUsersByFilter', array($filter, $select, $top, $skip, $orderby), 'pending'); |
| 292 |
|
} |
| 293 |
|
$auth = $this->getAuthenticator($methodName); |
| 294 |
|
return $auth->getPendingUsersByFilter($filter, $select, $top, $skip, $orderby); |
| 295 |
|
} |
| 296 |
|
|
| 297 |
|
/** |
| 298 |
|
* Get an array of Auth\Group from a filtered set |
|
@@ 309-317 (lines=9) @@
|
| 306 |
|
* |
| 307 |
|
* @return array|false An array of Auth\Group objects or false if no pending users were found |
| 308 |
|
*/ |
| 309 |
|
public function getGroupsByFilter($filter, $select=false, $top=false, $skip=false, $orderby=false, $methodName = false) |
| 310 |
|
{ |
| 311 |
|
if($methodName === false) |
| 312 |
|
{ |
| 313 |
|
return $this->callOnEach('getGroupsByFilter', array($filter, $select, $top, $skip, $orderby), 'current'); |
| 314 |
|
} |
| 315 |
|
$auth = $this->getAuthenticator($methodName); |
| 316 |
|
return $auth->getGroupsByFilter($filter, $select, $top, $skip, $orderby); |
| 317 |
|
} |
| 318 |
|
|
| 319 |
|
/** |
| 320 |
|
* Get the number of currently active users on the system |