Documentation

TrackInterface extends UriInterface

Representation of a track.

Table of Contents

Methods

__construct()  : mixed
createFromXml()  : TrackInterface
getAlbum()  : string
Get the name of the album of the track.
getAlbumArt()  : string
Get the full path to the album art for this track.
getArtist()  : string
Get the name of the artist of the track.
getMetaData()  : string
Get the metadata xml for this object.
getNumber()  : int
Get the track number.
getTitle()  : string
Get the name of the track.
getUri()  : string
Get the URI for this object.
setAlbum()  : TrackInterface
Set the album of the track.
setAlbumArt()  : TrackInterface
Set the album art of the track.
setArtist()  : TrackInterface
Set the artist of the track.
setNumber()  : TrackInterface
Set the number of the track.
setTitle()  : TrackInterface
Set the name of the track.

Methods

__construct()

public __construct(string $uri) : mixed
Parameters
$uri : string

getAlbum()

Get the name of the album of the track.

public getAlbum() : string
Return values
string

getAlbumArt()

Get the full path to the album art for this track.

public getAlbumArt() : string
Return values
string

getArtist()

Get the name of the artist of the track.

public getArtist() : string
Return values
string

getMetaData()

Get the metadata xml for this object.

public getMetaData() : string
Return values
string

getNumber()

Get the track number.

public getNumber() : int
Return values
int

getTitle()

Get the name of the track.

public getTitle() : string
Return values
string

getUri()

Get the URI for this object.

public getUri() : string
Return values
string
On this page

Search results