PHP 클래스 WellCommerce\Component\DataSet\Paginator\DataSetPaginator

저자: Adam Piotrowski ([email protected])
상속: implements WellCommerce\Component\DataSet\Paginator\DataSetPaginatorInterface
파일 보기 프로젝트 열기: wellcommerce/wellcommerce

공개 메소드들

메소드 설명
getTotalRows ( Doctrine\ORM\QueryBuilder $queryBuilder, WellCommerce\Component\DataSet\Column\ColumnCollection $columns ) : integer

보호된 메소드들

메소드 설명
getOperator ( string $operator ) : string
replaceHaving ( Doctrine\ORM\Query\Expr\Andx $having, WellCommerce\Component\DataSet\Column\ColumnCollection $columns, Doctrine\ORM\QueryBuilder $queryBuilder ) Replaces all having clauses and resets DQL's having part
replaceSingleHavingClause ( Doctrine\ORM\Query\Expr\Comparison $comparison, WellCommerce\Component\DataSet\Column\ColumnCollection $columns, Doctrine\ORM\QueryBuilder $queryBuilder ) Replaces a single having clause because scalar types are not supported in doctrine paginator by default

메소드 상세

getOperator() 보호된 메소드

protected getOperator ( string $operator ) : string
$operator string
리턴 string

getTotalRows() 공개 메소드

public getTotalRows ( Doctrine\ORM\QueryBuilder $queryBuilder, WellCommerce\Component\DataSet\Column\ColumnCollection $columns ) : integer
$queryBuilder Doctrine\ORM\QueryBuilder
$columns WellCommerce\Component\DataSet\Column\ColumnCollection
리턴 integer

replaceHaving() 보호된 메소드

Replaces all having clauses and resets DQL's having part
protected replaceHaving ( Doctrine\ORM\Query\Expr\Andx $having, WellCommerce\Component\DataSet\Column\ColumnCollection $columns, Doctrine\ORM\QueryBuilder $queryBuilder )
$having Doctrine\ORM\Query\Expr\Andx
$columns WellCommerce\Component\DataSet\Column\ColumnCollection
$queryBuilder Doctrine\ORM\QueryBuilder

replaceSingleHavingClause() 보호된 메소드

Replaces a single having clause because scalar types are not supported in doctrine paginator by default
protected replaceSingleHavingClause ( Doctrine\ORM\Query\Expr\Comparison $comparison, WellCommerce\Component\DataSet\Column\ColumnCollection $columns, Doctrine\ORM\QueryBuilder $queryBuilder )
$comparison Doctrine\ORM\Query\Expr\Comparison
$columns WellCommerce\Component\DataSet\Column\ColumnCollection
$queryBuilder Doctrine\ORM\QueryBuilder