PHP Class Sulu\Bundle\ResourceBundle\Entity\FilterRepository

This class was generated by the Doctrine ORM. Add your own custom repository methods below.
Inheritance: extends Doctrine\ORM\EntityRepository, implements Sulu\Bundle\ResourceBundle\Entity\FilterRepositoryInterface
Show file Open project: sulu/sulu

Public Methods

Method Description
deleteByIds ( $ids ) : mixed Deletes multiple filters.
findById ( $id )
findByIdAndLocale ( $id, $locale )
findByUserAndContextAndLocale ( $locale, $context, $userId )

Protected Methods

Method Description
getFilterQuery ( string $locale ) : Doctrine\ORM\QueryBuilder Returns the query for filters.

Method Details

deleteByIds() public method

Deletes multiple filters.
public deleteByIds ( $ids ) : mixed
$ids
return mixed

findById() public method

public findById ( $id )

findByIdAndLocale() public method

public findByIdAndLocale ( $id, $locale )

findByUserAndContextAndLocale() public method

public findByUserAndContextAndLocale ( $locale, $context, $userId )

getFilterQuery() protected method

Returns the query for filters.
protected getFilterQuery ( string $locale ) : Doctrine\ORM\QueryBuilder
$locale string The locale to load
return Doctrine\ORM\QueryBuilder