SlideRepositoryReaderInterface
in
Interface SlideRepositoryReaderInterface
Tags
Table of Contents
- getById() : SlideInterface
- Returns a Slide instance by the given slide ID.
- getBySliderId() : SlideCollection
- Returns a SlideCollection for the given Slider ID.
- getBySliderIdAndLanguageId() : SlideCollection
- Returns a SlideCollection with all existing Slide objects by the given slider ID and language ID.
- isSlideThumbnailImageFileUsed() : bool
- Check if an image file is used by another slide entry.
Methods
getById()
Returns a Slide instance by the given slide ID.
public
getById(IdType $slideId) : SlideInterface
Parameters
- $slideId : IdType
Tags
Return values
SlideInterface —getBySliderId()
Returns a SlideCollection for the given Slider ID.
public
getBySliderId(IdType $sliderId) : SlideCollection
Parameters
- $sliderId : IdType
Tags
Return values
SlideCollection —All slides found by the slider ID as a SlideCollection.
getBySliderIdAndLanguageId()
Returns a SlideCollection with all existing Slide objects by the given slider ID and language ID.
public
getBySliderIdAndLanguageId(IdType $sliderId, IdType $languageId) : SlideCollection
Parameters
Return values
SlideCollection —isSlideThumbnailImageFileUsed()
Check if an image file is used by another slide entry.
public
isSlideThumbnailImageFileUsed(FilenameStringType $filename, IdType $slideId) : bool
Parameters
- $filename : FilenameStringType
-
Slide thumbnail image filename.
- $slideId : IdType