phpDocumentor

Slide
in package
implements SlideInterface

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.

Tags
category

System

subpackage

Entities

Interfaces, Classes and Traits

SlideInterface
Interface SlideInterface

Table of Contents

$altText  : string
Image alt text
$id  : int
Slide ID
$languageId  : int
Language ID
$slideImageCollection  : SlideImageCollection
Collection of Slide Images
$sortOrder  : int
Sort order
$thumbnail  : string
Thumbnail
$title  : string
Title
$url  : string
Link url
$urlTarget  : string
Link target (e.g. _blank or _self)
__construct()  : mixed
addSlideImage()  : SlideInterface
Adds a slide image to the slide image collection
getAltText()  : string
Return the alt text of the slide.
getId()  : int
Return the slide ID.
getLanguageId()  : int
Return the language ID.
getSlideImageCollection()  : SlideImageCollection
Return the slide image collection of the slide.
getSortOrder()  : int
Return the slide sort order.
getThumbnail()  : string
Return the thumbnail of the slide.
getTitle()  : string
Return the title of the slide.
getUrl()  : string
Return the URL of the slide.
getUrlTarget()  : string
Return the url target property.
setAltText()  : SlideInterface
Set the alt text for the slide.
setId()  : SlideInterface
Set the slide ID for the slide.
setLanguageId()  : SlideInterface
Set the language ID for the slide.
setSlideImageCollection()  : SlideInterface
Set the slide image collection for the slide.
setSortOrder()  : SlideInterface
Set the sort order for the slide.
setThumbnail()  : SlideInterface
Set the thumbnail for the slide.
setTitle()  : SlideInterface
Set the title for the slide.
setUrl()  : SlideInterface
Set the URL for the slide.
setUrlTarget()  : SlideInterface
Set the url target property for the slide.

Properties

$altText

Image alt text

protected string $altText = ''

$languageId

Language ID

protected int $languageId = 0

$sortOrder

Sort order

protected int $sortOrder = 0

$thumbnail

Thumbnail

protected string $thumbnail = ''

$urlTarget

Link target (e.g. _blank or _self)

protected string $urlTarget = ''

Methods

__construct()

public __construct() : mixed
Return values
mixed

getAltText()

Return the alt text of the slide.

public getAltText() : string
Return values
string

Alt text of the slide.

getId()

Return the slide ID.

public getId() : int
Return values
int

Slide ID.

getLanguageId()

Return the language ID.

public getLanguageId() : int
Return values
int

Language ID.

getSortOrder()

Return the slide sort order.

public getSortOrder() : int
Return values
int

sort order.

getThumbnail()

Return the thumbnail of the slide.

public getThumbnail() : string
Return values
string

Thumbnail.

getTitle()

Return the title of the slide.

public getTitle() : string
Return values
string

Title.

getUrl()

Return the URL of the slide.

public getUrl() : string
Return values
string

URL.

getUrlTarget()

Return the url target property.

public getUrlTarget() : string
Return values
string

URL target e.g. '_blank'.

Search results