Class Slide

Class Slide

Represents the default settings of a single slide in a slider. Has got the slider image settings as collection for every image of a slide.

Slide implements SlideInterface
Package: Slider\Entities
Category: System
Located at Services/Core/Slider/Entities/Slide.inc.php

Methods summary

public __construct( void )
public setId( IdType $id ) : SlideInterface

Set the slide ID for the slide.

public getId( void ) : integer

Return the slide ID.

public setLanguageId( IdType $languageId ) : SlideInterface

Set the language ID for the slide.

public getLanguageId( void ) : integer

Return the language ID.

public setThumbnail( StringType $thumbnail ) : SlideInterface

Set the thumbnail for the slide.

public getThumbnail( void ) : string

Return the thumbnail of the slide.

public setTitle( StringType $title ) : SlideInterface

Set the title for the slide.

public getTitle( void ) : string

Return the title of the slide.

public setAltText( StringType $altText ) : SlideInterface

Set the alt text for the slide.

public getAltText( void ) : string

Return the alt text of the slide.

public setUrl( StringType $url ) : SlideInterface

Set the URL for the slide.

public getUrl( void ) : string

Return the URL of the slide.

public setUrlTarget( StringType $urlTarget ) : SlideInterface

Set the url target property for the slide.

public getUrlTarget( void ) : string

Return the url target property.

public setSlideImageCollection( SlideImageCollection $slideImageCollection ) : SlideInterface

Set the slide image collection for the slide.

public getSlideImageCollection( void ) : SlideImageCollection

Return the slide image collection of the slide.

public addSlideImage( SlideImageInterface $slideImage ) : SlideInterface

Adds a slide image to the slide image collection

public setSortOrder( IntType $sortOrder ) : SlideInterface

Set the sort order for the slide.

public getSortOrder( void ) : integer

Return the slide sort order.

Properties summary

protected $id : integer

Slide ID

0
protected $languageId : integer

Language ID

0
protected $thumbnail : string

Thumbnail

''
protected $title : string

Title

''
protected $altText : string

Image alt text

''
protected $url : string

Link url

''
protected $urlTarget : string

Link target (e.g. _blank or _self)

''
protected $slideImageCollection : SlideImageCollection

Collection of Slide Images


		
protected $sortOrder : integer

Sort order

0