Méthode | Description | |
---|---|---|
countDistinctAccountChildrenAndContacts ( $id ) : mixed | distinct count account's children and contacts. | |
findAccountById ( $id, $contacts = false ) : mixed | Get account by id. | |
findAccountByIdAndDelete ( $id ) : mixed | Get account by id to delete. | |
findAccountOnly ( $id ) | ||
findAllSelect ( array $fields = [] ) : array | finds all accounts but only selects given fields. | |
findByFilter ( array $filter ) | ||
findByIds ( $ids ) : mixed | Get account by id. | |
findChildrenAndContacts ( $id ) : mixed | distinct count account's children and contacts. | |
findOneByContactId ( $contactId ) : array | Searches for accounts with a specific contact. |
Méthode | Description | |
---|---|---|
appendJoins ( Doctrine\ORM\QueryBuilder $queryBuilder, $alias, $locale ) | Append joins to query builder for "findByFilters" function. |
protected appendJoins ( Doctrine\ORM\QueryBuilder $queryBuilder, $alias, $locale ) | ||
$queryBuilder | Doctrine\ORM\QueryBuilder |
public countDistinctAccountChildrenAndContacts ( $id ) : mixed | ||
$id | ||
Résultat | mixed |
public findAccountById ( $id, $contacts = false ) : mixed | ||
$id | ||
$contacts | ||
Résultat | mixed |
public findAccountByIdAndDelete ( $id ) : mixed | ||
$id | ||
Résultat | mixed |
public findAllSelect ( array $fields = [] ) : array | ||
$fields | array | |
Résultat | array |
public findChildrenAndContacts ( $id ) : mixed | ||
$id | ||
Résultat | mixed |
public findOneByContactId ( $contactId ) : array | ||
$contactId | ||
Résultat | array |