SlideRepositoryWriterInterface
in
Interface SlideRepositoryWriterInterface
Tags
Table of Contents
- store() : int
- Inserts a slide to the database.
- unsetSlideThumbnailReference() : SlideRepositoryWriterInterface
- Unset the thumbnail filename references in other slide thumbnail entry by the given filename.
Methods
store()
Inserts a slide to the database.
public
store(IdType $sliderId, SlideInterface $slide) : int
Parameters
- $sliderId : IdType
- $slide : SlideInterface
Return values
int —ID of inserted slide or the given slide ID if the slide had an ID already.
unsetSlideThumbnailReference()
Unset the thumbnail filename references in other slide thumbnail entry by the given filename.
public
unsetSlideThumbnailReference(FilenameStringType $filename) : SlideRepositoryWriterInterface
Parameters
- $filename : FilenameStringType
-
Slide image filename.
Return values
SlideRepositoryWriterInterface —Same instance for method chaining.