메소드 | 설명 | |
---|---|---|
add ( Sylius\Component\Resource\Model\ResourceInterface $resource ) | ||
createPaginator ( array $criteria = [], array $sorting = [] ) | ||
remove ( Sylius\Component\Resource\Model\ResourceInterface $resource ) |
메소드 | 설명 | |
---|---|---|
applyCriteria ( Doctrine\ORM\QueryBuilder $queryBuilder, array $criteria = [] ) | ||
applySorting ( Doctrine\ORM\QueryBuilder $queryBuilder, array $sorting = [] ) | ||
getArrayPaginator ( array $objects ) : Pagerfanta\Pagerfanta | ||
getPaginator ( Doctrine\ORM\QueryBuilder $queryBuilder ) : Pagerfanta\Pagerfanta | ||
getPropertyName ( string $name ) : string |
public add ( Sylius\Component\Resource\Model\ResourceInterface $resource ) | ||
$resource | Sylius\Component\Resource\Model\ResourceInterface |
protected applyCriteria ( Doctrine\ORM\QueryBuilder $queryBuilder, array $criteria = [] ) | ||
$queryBuilder | Doctrine\ORM\QueryBuilder | |
$criteria | array |
protected applySorting ( Doctrine\ORM\QueryBuilder $queryBuilder, array $sorting = [] ) | ||
$queryBuilder | Doctrine\ORM\QueryBuilder | |
$sorting | array |
public createPaginator ( array $criteria = [], array $sorting = [] ) | ||
$criteria | array | |
$sorting | array |
protected getArrayPaginator ( array $objects ) : Pagerfanta\Pagerfanta | ||
$objects | array | |
리턴 | Pagerfanta\Pagerfanta |
protected getPaginator ( Doctrine\ORM\QueryBuilder $queryBuilder ) : Pagerfanta\Pagerfanta | ||
$queryBuilder | Doctrine\ORM\QueryBuilder | |
리턴 | Pagerfanta\Pagerfanta |
protected getPropertyName ( string $name ) : string | ||
$name | string | |
리턴 | string |
public remove ( Sylius\Component\Resource\Model\ResourceInterface $resource ) | ||
$resource | Sylius\Component\Resource\Model\ResourceInterface |