SlideRepositoryReaderInterface

Extends

Interface SlideRepositoryReaderInterface

category

System

package

Slider

subpackage

Interfaces

Methods

Returns a Slide instance by the given slide ID.

getById(\IdType $slideId) : \SlideInterface
Throws
\UnexpectedValueException
\InvalidArgumentException

Arguments

$slideId

\IdType

Response

\SlideInterface

Returns a SlideCollection for the given Slider ID.

getBySliderId(\IdType $sliderId) : \SlideCollection
Throws
\UnexpectedValueException
\InvalidArgumentException

Arguments

$sliderId

\IdType

Response

\SlideCollection

All slides found by the slider ID as a SlideCollection.

Returns a SlideCollection with all existing Slide objects by the given slider ID and language ID.

getBySliderIdAndLanguageId(\IdType $sliderId, \IdType $languageId) : \SlideCollection

Arguments

$sliderId

\IdType

$languageId

\IdType

Response

\SlideCollection

Check if an image file is used by another slide entry.

isSlideThumbnailImageFileUsed(\FilenameStringType $filename, \IdType $slideId) : boolean

Arguments

$filename

\FilenameStringType

Slide thumbnail image filename.

$slideId

\IdType

Response

boolean