Méthode | Description | |
---|---|---|
add ( Sylius\Component\Resource\Model\ResourceInterface $resource ) | ||
createPaginator ( array $criteria = [], array $sorting = [] ) | ||
remove ( Sylius\Component\Resource\Model\ResourceInterface $resource ) |
Méthode | Description | |
---|---|---|
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 | |
Résultat | Pagerfanta\Pagerfanta |
protected getPaginator ( Doctrine\ORM\QueryBuilder $queryBuilder ) : Pagerfanta\Pagerfanta | ||
$queryBuilder | Doctrine\ORM\QueryBuilder | |
Résultat | Pagerfanta\Pagerfanta |
protected getPropertyName ( string $name ) : string | ||
$name | string | |
Résultat | string |
public remove ( Sylius\Component\Resource\Model\ResourceInterface $resource ) | ||
$resource | Sylius\Component\Resource\Model\ResourceInterface |