SliderReadServiceInterface

Extends

Interface SliderReadServiceInterface

category

System

package

Slider

subpackage

Interfaces

Methods

Get the Slider ID for the provided category ID.

findAssignedSliderIdForCategoryId(\IdType $categoryId) : integer|null

Arguments

$categoryId

\IdType

Response

integer|null

Returns the ID of the slider which is assigned for the given category id or null if no record was found.

Get the Slider ID for the provided content ID.

findAssignedSliderIdForContentId(\IdType $contentId) : integer|null

Arguments

$contentId

\IdType

Response

integer|null

Returns the ID of the slider which is assigned for the given content id or null if no record was found.

Get the Slider ID for the provided product ID.

findAssignedSliderIdForProductId(\IdType $productId) : integer|null

Arguments

$productId

\IdType

Response

integer|null

Returns the ID of the slider which is assigned for the given product id or null if no record was found.

Returns a SliderCollection with all existing Slider objects.

getAllSlider() : \SliderCollection

Returns a Slide instance by the given slide ID.

getSlideById(\IdType $slideId) : \SlideInterface

Arguments

$slideId

\IdType

Response

\SlideInterface

Returns a SlideImageArea instance by the given slide image area ID.

getSlideImageAreaById(\IdType $slideImageAreaId) : \SlideImageAreaInterface

Arguments

$slideImageAreaId

\IdType

Response

\SlideImageAreaInterface

Returns a SlideImageAreaCollection with all existing SlideImageArea objects by the given slide image ID.

getSlideImageAreasBySlideImageId(\IdType $slideImageId) : \SlideImageAreaCollection

Arguments

$slideImageId

\IdType

Response

\SlideImageAreaCollection

Returns a SlideImage instance by the given slide image ID.

getSlideImageById(\IdType $slideImageId) : \SlideImageInterface

Arguments

$slideImageId

\IdType

Response

\SlideImageInterface

Returns a SlideImageCollection with all existing SlideImage objects by the given slide ID.

getSlideImagesBySlideId(\IdType $slideId) : \SlideImageCollection

Arguments

$slideId

\IdType

Response

\SlideImageCollection

Returns a SlideImageCollection with all existing SlideImage objects by the given slide ID and language ID.

getSlideImagesBySlideIdAndLanguageId(\IdType $slideId, \IdType $languageId) : \SlideImageCollection

Arguments

$slideId

\IdType

$languageId

\IdType

Response

\SlideImageCollection

Returns a Slider instance by the given slider ID.

getSliderById(\IdType $sliderId) : \SliderInterface

Arguments

$sliderId

\IdType

Response

\SliderInterface

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

getSlidesBySliderId(\IdType $sliderId) : \SlideCollection

Arguments

$sliderId

\IdType

Response

\SlideCollection

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

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

Arguments

$sliderId

\IdType

$languageId

\IdType

Response

\SlideCollection

Get the Slider for the start page.

getStartPageSlider() : \SliderInterface|null

Response

\SliderInterface|null

Returns the start page slider instance or null if no record was found.

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

isSlideImageFileUsed(\FilenameStringType $filename, \IdType $slideImageId) : boolean

Arguments

$filename

\FilenameStringType

Slide image filename.

$slideImageId

\IdType

Response

boolean

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