PHP Class Sulu\Bundle\CategoryBundle\Entity\CategoryRepository

Inheritance: extends Gedmo\Tree\Entity\Repository\NestedTreeRepository, implements Sulu\Bundle\CategoryBundle\Entity\CategoryRepositoryInterface
Afficher le fichier Open project: sulu/sulu

Méthodes publiques

Méthode Description
createNew ( )
findCategories ( $parent = null, $depth = null, $sortBy = null, $sortOrder = null )
findCategoriesByIds ( array $ids )
findCategoryById ( $id )
findCategoryByIds ( array $ids )
findCategoryByKey ( $key )
findCategoryIdsBetween ( $fromIds, $toIds )
findChildren ( $key, $sortBy = null, $sortOrder = null )
findChildrenCategoriesByParentId ( $parentId = null )
findChildrenCategoriesByParentKey ( $parentKey = null )
isCategoryId ( $id )
isCategoryKey ( $key )

Private Methods

Méthode Description
getCategoryQuery ( ) : Doctrine\ORM\QueryBuilder Returns the general part of the query.

Method Details

createNew() public méthode

public createNew ( )

findCategories() public méthode

public findCategories ( $parent = null, $depth = null, $sortBy = null, $sortOrder = null )

findCategoriesByIds() public méthode

public findCategoriesByIds ( array $ids )
$ids array

findCategoryById() public méthode

public findCategoryById ( $id )

findCategoryByIds() public méthode

public findCategoryByIds ( array $ids )
$ids array

findCategoryByKey() public méthode

public findCategoryByKey ( $key )

findCategoryIdsBetween() public méthode

public findCategoryIdsBetween ( $fromIds, $toIds )

findChildren() public méthode

public findChildren ( $key, $sortBy = null, $sortOrder = null )

findChildrenCategoriesByParentId() public méthode

public findChildrenCategoriesByParentId ( $parentId = null )

findChildrenCategoriesByParentKey() public méthode

public findChildrenCategoriesByParentKey ( $parentKey = null )

isCategoryId() public méthode

public isCategoryId ( $id )

isCategoryKey() public méthode

public isCategoryKey ( $key )