메소드 |
설명 |
|
__construct ( array $config, EntityManager $em ) |
|
|
countBy ( array $criteria = [] ) : integer |
Count by given criteria |
|
findBy ( array $criteria, array $orderBy = [], integer $limit = NULL, integer $offset = NULL ) : array |
Find by given criteria |
|
findByCriteria ( UserCriteria $criteria ) : Newscoop\ListResult; |
Find by criteria |
|
findEditors ( integer $limit = NULL, integer $offset = NULL ) : array |
List editors |
|
findOneBy ( array $criteria ) : User |
Find one user by criteria |
|
findUsersBySearch ( $search, $countOnly = false, $page = 1, $limit = 25 ) : array |
Find user by string |
|
findUsersLastNameInRange ( $letters, $countOnly = false, $page = 1, $limit = 25 ) : array |
List users by first letter |
|
getActiveUsers ( $countOnly = false, $page = 1, $limit = 8, $editors = [] ) : array |
List active users |
|
getEditorsCount ( ) : integer |
Get editors count |
|
getRandomList ( integer $limit = 25 ) : array |
Get random list of users |
|