PHP Class Sulu\Bundle\MediaBundle\Entity\CollectionRepository

This class was generated by the Doctrine ORM. Add your own custom repository methods below.
Inheritance: extends Gedmo\Tree\Entity\Repository\NestedTreeRepository, implements Sulu\Bundle\MediaBundle\Entity\CollectionRepositoryInterface
Afficher le fichier Open project: sulu/sulu Class Usage Examples

Méthodes publiques

Méthode Description
count ( $depth, $filter = [], Sulu\Bundle\MediaBundle\Entity\CollectionInterface $collection = null )
countMedia ( Sulu\Bundle\MediaBundle\Entity\CollectionInterface $collection )
countSubCollections ( Sulu\Bundle\MediaBundle\Entity\CollectionInterface $collection )
findCollectionBreadcrumbById ( $id )
findCollectionById ( $id )
findCollectionByKey ( $key )
findCollectionSet ( $depth, $filter = [], Sulu\Bundle\MediaBundle\Entity\CollectionInterface $collection = null, $sortBy = [], Sulu\Component\Security\Authentication\UserInterface $user = null, $permission = null )
findCollectionTypeById ( $id )
findCollections ( $filter = [], $limit = null, $offset = null, $sortBy = [] )
findTree ( $id, $locale )

Private Methods

Méthode Description
getIdsQuery ( integer $depth, array $filter = [], array $sortBy = [], Sulu\Bundle\MediaBundle\Entity\CollectionInterface $collection = null, string $select = 'collection.id' ) : Doctrine\ORM\Query Returns the basic query which selects the ids of a collection for a given set of parameters.

Method Details

count() public méthode

public count ( $depth, $filter = [], Sulu\Bundle\MediaBundle\Entity\CollectionInterface $collection = null )
$collection Sulu\Bundle\MediaBundle\Entity\CollectionInterface

countMedia() public méthode

public countMedia ( Sulu\Bundle\MediaBundle\Entity\CollectionInterface $collection )
$collection Sulu\Bundle\MediaBundle\Entity\CollectionInterface

countSubCollections() public méthode

public countSubCollections ( Sulu\Bundle\MediaBundle\Entity\CollectionInterface $collection )
$collection Sulu\Bundle\MediaBundle\Entity\CollectionInterface

findCollectionBreadcrumbById() public méthode

findCollectionById() public méthode

public findCollectionById ( $id )

findCollectionByKey() public méthode

public findCollectionByKey ( $key )

findCollectionSet() public méthode

public findCollectionSet ( $depth, $filter = [], Sulu\Bundle\MediaBundle\Entity\CollectionInterface $collection = null, $sortBy = [], Sulu\Component\Security\Authentication\UserInterface $user = null, $permission = null )
$collection Sulu\Bundle\MediaBundle\Entity\CollectionInterface
$user Sulu\Component\Security\Authentication\UserInterface

findCollectionTypeById() public méthode

public findCollectionTypeById ( $id )

findCollections() public méthode

public findCollections ( $filter = [], $limit = null, $offset = null, $sortBy = [] )

findTree() public méthode

public findTree ( $id, $locale )