PHP Interface Sulu\Bundle\ResourceBundle\Entity\FilterRepositoryInterface

Show file Open project: sulu/sulu Interface Usage Examples

Public Methods

Method Description
deleteByIds ( $ids ) : mixed Deletes multiple filters.
findById ( $id ) : mixed Searches for a filter by id.
findByIdAndLocale ( $id, $locale ) : mixed Searches for a filter by id and locale.
findByUserAndContextAndLocale ( string $locale, string $context, string | integer $userId ) : mixed Searches for all filters of a user by context and locale includes filters without a user which were e.g. created by fixtures.

Method Details

deleteByIds() public method

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

findById() public method

Searches for a filter by id.
public findById ( $id ) : mixed
$id
return mixed

findByIdAndLocale() public method

Searches for a filter by id and locale.
public findByIdAndLocale ( $id, $locale ) : mixed
$id
$locale
return mixed

findByUserAndContextAndLocale() public method

Searches for all filters of a user by context and locale includes filters without a user which were e.g. created by fixtures.
public findByUserAndContextAndLocale ( string $locale, string $context, string | integer $userId ) : mixed
$locale string
$context string
$userId string | integer
return mixed