Bånder

TPE4 extends TextFrame
in package

TPE4 frame - Interpreted, remixed, or otherwise modified by.

The 'Interpreted, remixed, or otherwise modified by' frame contains additional information about the person who interpreted, remixed, or otherwise modified the recording.

Table of Contents

Properties

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

Methods

__construct()  : mixed
Constructs the TPE4 frame with given parameters.
getEncoding()  : int
Returns the text encoding.
getModifier()  : string
Returns the interpreter/remixer/modifier.
getText()  : string
Returns the text content.
parse()  : self
Parses the frame data.
setEncoding()  : self
Sets the text encoding.
setModifier()  : self
Sets the interpreter/remixer/modifier.
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 TPE4 frame with given parameters.

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

getEncoding()

Returns the text encoding.

public getEncoding() : int
Return values
int

getModifier()

Returns the interpreter/remixer/modifier.

public getModifier() : string
Return values
string

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

setEncoding()

Sets the text encoding.

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

setModifier()

Sets the interpreter/remixer/modifier.

public setModifier(string $modifier) : self
Parameters
$modifier : string
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