PHP Class Happyr\DoctrineSpecification\Spec

Mostrar archivo Open project: happyr/doctrine-specification Class Usage Examples

Public Methods

Method Description
andX ( ) * Logic
asArray ( ) * Result modifier
asSingleScalar ( )
cache ( $cacheLifetime )
countOf ( Happyr\DoctrineSpecification\Specification\Specification $spec ) * Specifications
eq ( $field, $value, $dqlAlias = null )
groupBy ( $field, $dqlAlias = null )
gt ( $field, $value, $dqlAlias = null )
gte ( $field, $value, $dqlAlias = null )
having ( $spec )
in ( $field, $value, $dqlAlias = null )
innerJoin ( $field, $newAlias, $dqlAlias = null )
instanceOfX ( $value, $dqlAlias = null )
isNotNull ( $field, $dqlAlias = null )
isNull ( $field, $dqlAlias = null ) * Filters
join ( $field, $newAlias, $dqlAlias = null ) * Query modifier
leftJoin ( $field, $newAlias, $dqlAlias = null )
like ( $field, $value, $format = Like::CONTAINS, $dqlAlias = null )
limit ( $count )
lt ( $field, $value, $dqlAlias = null )
lte ( $field, $value, $dqlAlias = null )
neq ( $field, $value, $dqlAlias = null )
not ( Happyr\DoctrineSpecification\Filter\Filter $spec )
notIn ( $field, $value, $dqlAlias = null )
offset ( $count )
orX ( )
orderBy ( $field, $order = 'ASC', $dqlAlias = null )

Method Details

andX() public static method

* Logic
public static andX ( )

asArray() public static method

* Result modifier
public static asArray ( )

asSingleScalar() public static method

public static asSingleScalar ( )

cache() public static method

public static cache ( $cacheLifetime )

countOf() public static method

* Specifications
public static countOf ( Happyr\DoctrineSpecification\Specification\Specification $spec )
$spec Happyr\DoctrineSpecification\Specification\Specification

eq() public static method

public static eq ( $field, $value, $dqlAlias = null )

groupBy() public static method

public static groupBy ( $field, $dqlAlias = null )

gt() public static method

public static gt ( $field, $value, $dqlAlias = null )

gte() public static method

public static gte ( $field, $value, $dqlAlias = null )

having() public static method

public static having ( $spec )

in() public static method

public static in ( $field, $value, $dqlAlias = null )

innerJoin() public static method

public static innerJoin ( $field, $newAlias, $dqlAlias = null )

instanceOfX() public static method

public static instanceOfX ( $value, $dqlAlias = null )

isNotNull() public static method

public static isNotNull ( $field, $dqlAlias = null )

isNull() public static method

* Filters
public static isNull ( $field, $dqlAlias = null )

join() public static method

* Query modifier
public static join ( $field, $newAlias, $dqlAlias = null )

leftJoin() public static method

public static leftJoin ( $field, $newAlias, $dqlAlias = null )

like() public static method

public static like ( $field, $value, $format = Like::CONTAINS, $dqlAlias = null )

limit() public static method

public static limit ( $count )

lt() public static method

public static lt ( $field, $value, $dqlAlias = null )

lte() public static method

public static lte ( $field, $value, $dqlAlias = null )

neq() public static method

public static neq ( $field, $value, $dqlAlias = null )

not() public static method

public static not ( Happyr\DoctrineSpecification\Filter\Filter $spec )
$spec Happyr\DoctrineSpecification\Filter\Filter

notIn() public static method

public static notIn ( $field, $value, $dqlAlias = null )

offset() public static method

public static offset ( $count )

orX() public static method

public static orX ( )

orderBy() public static method

public static orderBy ( $field, $order = 'ASC', $dqlAlias = null )