SliderRepositoryInterface

Extends

Interface SliderRepositoryInterface

category

System

package

Slider

subpackage

Interfaces

Methods

Deletes a Slider by the given slider ID.

deleteSliderById(\IdType $sliderId) : \SliderRepositoryInterface

Arguments

$sliderId

\IdType

Response

\SliderRepositoryInterface

Same instance for method chaining.

Returns a SliderCollection with all existing Slider objects.

getAll() : \SliderCollection

Returns a Slider instance by the given slider ID.

getById(\IdType $sliderId) : \SliderInterface

Arguments

$sliderId

\IdType

Response

\SliderInterface

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.

Set the Slider for the start page.

setStartPageSlider(\IdType $sliderId) : \SliderRepositoryInterface

Arguments

$sliderId

\IdType

Response

\SliderRepositoryInterface

Same instance for method chaining.

Stores a Slider to the database.

store(\SliderInterface $slider) : \SliderRepositoryInterface

Arguments

Response

\SliderRepositoryInterface

Same instance for method chaining.