ContactUsRepository
class ContactUsRepository extends EntityRepository
Class ContactUsRepository is injected as empire_contuct_us.repository service. ContactUsRepository is used for crud operation for managed entity.
Use this class to work with database.
Traits
Constants
| ALIAS |
ContactUs alias |
| FILE_ALIAS |
File alias |
Methods
Should contain group by which jqgrid uses.
JQGrid function
JQGrid function
Get object from database by id
Remove objects from array from database
Get multiple objects by ids array
Details
in JQGridTrait at line 27
jQGridJoinFields(QueryBuilder $qb, JQGridWrapper $jqGridWrapper)
All joins used in select.
Override in the repository class if needed. Should do nothing otherwise
in JQGridTrait at line 42
jQGridGroupByFields(QueryBuilder $qb, JQGridWrapper $jqGridWrapper)
Should contain group by which jqgrid uses.
Override in the repository class if needed. Should do nothing otherwise
in JQGridTrait at line 61
array
findAllForJQGRID(int $page, int $offset, array $sortParams, array $additionalParams, JQGridWrapper $jqGridWrapper)
JQGrid function
in JQGridTrait at line 94
array
searchForJQGRID(array $searchParams, array $sortParams, bool $isCountSearch = false, array $additionalParams = array(), JQGridWrapper $jqGridWrapper = null)
JQGrid function
at line 59
mixed
getOneById(string|int $id)
Get object from database by id
at line 76
array|string
removeElements(array $array)
Remove objects from array from database
at line 101
array
getObjectsByIds(array $array)
Get multiple objects by ids array