PHP Class Happyr\DoctrineSpecification\Query\AbstractJoin

Author: Tobias Nyholm
Inheritance: implements Happyr\DoctrineSpecification\Query\QueryModifier
Afficher le fichier Open project: happyr/doctrine-specification

Méthodes publiques

Méthode Description
__construct ( string $field, string $newAlias, string $dqlAlias = null )
modify ( Doctrine\ORM\QueryBuilder $qb, string $dqlAlias )

Méthodes protégées

Méthode Description
getJoinType ( ) : string Return a join type (ie a function of QueryBuilder) like: "join", "innerJoin", "leftJoin".

Method Details

__construct() public méthode

public __construct ( string $field, string $newAlias, string $dqlAlias = null )
$field string
$newAlias string
$dqlAlias string

getJoinType() abstract protected méthode

Return a join type (ie a function of QueryBuilder) like: "join", "innerJoin", "leftJoin".
abstract protected getJoinType ( ) : string
Résultat string

modify() public méthode

public modify ( Doctrine\ORM\QueryBuilder $qb, string $dqlAlias )
$qb Doctrine\ORM\QueryBuilder
$dqlAlias string