Свойство | Type | Description | |
---|---|---|---|
$config | array | ||
$em |
Méthode | Description | |
---|---|---|
__construct ( array $config, |
||
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 ( |
Find by criteria | |
findEditors ( integer $limit = NULL, integer $offset = NULL ) : array | List editors | |
findOneBy ( array $criteria ) : |
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 |
Méthode | Description | |
---|---|---|
getRepository ( ) : Newscoop\Entity\Repository\UserRepository | Get repository |
public __construct ( array $config, |
||
$config | array | |
$em |
public findByCriteria ( |
||
$criteria | ||
Résultat | Newscoop\ListResult; |
public findUsersBySearch ( $search, $countOnly = false, $page = 1, $limit = 25 ) : array | ||
Résultat | array |
public findUsersLastNameInRange ( $letters, $countOnly = false, $page = 1, $limit = 25 ) : array | ||
Résultat | array |
public getActiveUsers ( $countOnly = false, $page = 1, $limit = 8, $editors = [] ) : array | ||
Résultat | array |
public getEditorsCount ( ) : integer | ||
Résultat | integer |
public getRandomList ( integer $limit = 25 ) : array | ||
$limit | integer | |
Résultat | array |
protected getRepository ( ) : Newscoop\Entity\Repository\UserRepository | ||
Résultat | Newscoop\Entity\Repository\UserRepository |