PHP Class Sulu\Bundle\ResourceBundle\Entity\OperatorRepository

Inheritance: extends Doctrine\ORM\EntityRepository, implements Sulu\Bundle\ResourceBundle\Entity\OperatorRepositoryInterface
Show file Open project: sulu/sulu

Public Methods

Method Description
findAllByLocale ( $locale ) : mixed Searches for all operator by locale.

Protected Methods

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

Method Details

findAllByLocale() public method

Searches for all operator by locale.
public findAllByLocale ( $locale ) : mixed
$locale
return mixed

getOperatorQuery() protected method

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