Class SliderReadService
category |
System |
---|---|
package |
Slider |
__construct(\SliderRepositoryInterface $sliderRepository, \SlideRepositoryInterface $slideRepository, \SlideImageRepositoryInterface $slideImageRepository, \SlideImageAreaRepositoryInterface $slideImageAreaRepository, \SliderAssignmentRepositoryInterface $sliderAssignmentRepository, \SlideImageFileStorage $slideImageFileStorage)
\SliderRepositoryInterface
\SlideRepositoryInterface
\SlideImageRepositoryInterface
\SlideImageAreaRepositoryInterface
\SliderAssignmentRepositoryInterface
\SlideImageFileStorage
findAssignedSliderIdForCategoryId(\IdType $categoryId) : integer|null
\IdType
integer|null
Returns the ID of the slider which is assigned for the given category id or null if no record was found.
findAssignedSliderIdForContentId(\IdType $contentId) : integer|null
\IdType
integer|null
Returns the ID of the slider which is assigned for the given content id or null if no record was found.
findAssignedSliderIdForProductId(\IdType $productId) : integer|null
\IdType
integer|null
Returns the ID of the slider which is assigned for the given product id or null if no record was found.
getAllSlideImagesFromStorage() : array
array
Slide images.
getAllSlider() : \SliderCollection
getAllSlideThumbnailImagesFromStorage() : array
array
Slide thumbnail images.
getSlideById(\IdType $slideId) : \SlideInterface
getSlideImageAreaById(\IdType $slideImageAreaId) : \SlideImageAreaInterface
getSlideImageAreasBySlideImageId(\IdType $slideImageId) : \SlideImageAreaCollection
getSlideImageById(\IdType $slideImageId) : \SlideImageInterface
getSlideImagesBySlideId(\IdType $slideId) : \SlideImageCollection
getSlideImagesBySlideIdAndLanguageId(\IdType $slideId, \IdType $languageId) : \SlideImageCollection
getSliderById(\IdType $sliderId) : \SliderInterface
getSlidesBySliderId(\IdType $sliderId) : \SlideCollection
getSlidesBySliderIdAndLanguageId(\IdType $sliderId, \IdType $languageId) : \SlideCollection
getStartPageSlider() : \SliderInterface|null
\SliderInterface|null
Returns the start page slider instance or null if no record was found.
isSlideImageFileUsed(\FilenameStringType $filename, \IdType $slideImageId) : boolean
isSlideThumbnailImageFileUsed(\FilenameStringType $filename, \IdType $slideId) : boolean