Property | Type | Description | |
---|---|---|---|
$_entityManager | |||
$_entityName | string | ||
$_queryObject | Doctrine\ORM\QueryBuilder | ||
$_repository | Doctrine\ORM\EntityRepository |
Method | Description | |
---|---|---|
__construct ( ) | ||
getCount ( array $params = [], array $cols = [] ) : integer | Get filtered count | |
getData ( array $p_params, array $p_cols ) | ||
search ( $query, array $cols = null ) | ||
setEntityManager ( |
||
setEntityName ( $p_entityName ) | ||
sort ( array $p_cols ) |
Method | Description | |
---|---|---|
buildWhere ( array $cols, string $search ) : Doctrine\ORM\Query\Expr | Build where condition |
public setEntityManager ( |
||
$p_entityManager |
protected EntityManager,Doctrine\ORM $_entityManager | ||
return |
protected QueryBuilder,Doctrine\ORM $_queryObject | ||
return | Doctrine\ORM\QueryBuilder |