\FML\TypesPlayable

Interface for Elements with media attributes

Summary

Methods
Constants
getData()
setData()
getDataId()
setDataId()
getPlay()
setPlay()
getLooping()
setLooping()
getMusic()
setMusic()
getVolume()
setVolume()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

getData()

getData() : string

Get the data url

Returns

string

setData()

setData(string  $data) : static

Set the data url

Parameters

string $data

Data url

Returns

static

getDataId()

getDataId() : string

Get the data id to use from Dico

Returns

string

setDataId()

setDataId(string  $dataId) : static

Set the data id to use from Dico

Parameters

string $dataId

Data id

Returns

static

getPlay()

getPlay() : boolean

Get play

Returns

boolean

setPlay()

setPlay(boolean  $play) : static

Set play

Parameters

boolean $play

If the Control should start playing automatically

Returns

static

getLooping()

getLooping() : boolean

Get looping

Returns

boolean

setLooping()

setLooping(boolean  $looping) : static

Set looping

Parameters

boolean $looping

If the Control should play looping

Returns

static

getMusic()

getMusic() : boolean

Get music

Returns

boolean

setMusic()

setMusic(boolean  $music) : static

Set music

Parameters

boolean $music

If the Control represents background music

Returns

static

getVolume()

getVolume() : float

Get the volume

Returns

float

setVolume()

setVolume(float  $volume) : static

Set the volume

Parameters

float $volume

Media volume

Returns

static