Bånder

TALB extends TextFrame
in package

TALB frame - Album/Movie/Show title.

The 'Album/Movie/Show title' frame is intended for the title of the recording (or source of sound) from which the audio in the file is taken.

Table of Contents

Properties

$encoding  : int
$frameId  : string
$text  : string

Methods

__construct()  : mixed
Constructs the TALB frame with given parameters.
getAlbum()  : string
Returns the album.
getEncoding()  : int
Returns the text encoding.
getText()  : string
Returns the text content.
parse()  : self
Parses the frame data.
setAlbum()  : self
Sets the album.
setEncoding()  : self
Sets the text encoding.
setText()  : self
Sets the text content.
toBytes()  : string
Converts the frame to binary data.

Properties

$encoding

protected int $encoding = Encoding::UTF8

$frameId

protected string $frameId
Hooks
protected string get

Methods

__construct()

Constructs the TALB frame with given parameters.

public __construct([string $album = '' ][, int $encoding = Encoding::UTF8 ]) : mixed
Parameters
$album : string = ''

The album

$encoding : int = Encoding::UTF8

The text encoding

getAlbum()

Returns the album.

public getAlbum() : string
Return values
string

getEncoding()

Returns the text encoding.

public getEncoding() : int
Return values
int

getText()

Returns the text content.

public getText() : string
Return values
string

parse()

Parses the frame data.

public parse(string $frameData) : self
Parameters
$frameData : string
Return values
self

setAlbum()

Sets the album.

public setAlbum(string $album) : self
Parameters
$album : string

The album

Return values
self

setEncoding()

Sets the text encoding.

public setEncoding(int $encoding) : self
Parameters
$encoding : int
Return values
self

setText()

Sets the text content.

public setText(string $text) : self
Parameters
$text : string
Return values
self

toBytes()

Converts the frame to binary data.

public toBytes() : string
Return values
string

        
On this page

Search results