TPE3
extends TextFrame
in package
TPE3 frame - Conductor/performer refinement.
The 'Conductor/performer refinement' frame is used for additional information about the conductor or performer.
Table of Contents
Properties
Methods
- __construct() : mixed
- Constructs the TPE3 frame with given parameters.
- getConductor() : string
- Returns the conductor/performer refinement.
- getEncoding() : int
- Returns the text encoding.
- getText() : string
- Returns the text content.
- parse() : self
- Parses the frame data.
- setConductor() : self
- Sets the conductor/performer refinement.
- 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
$text
protected
string
$text
= ''
Methods
__construct()
Constructs the TPE3 frame with given parameters.
public
__construct([string $conductor = '' ][, int $encoding = Encoding::UTF8 ]) : mixed
Parameters
- $conductor : string = ''
- $encoding : int = Encoding::UTF8
getConductor()
Returns the conductor/performer refinement.
public
getConductor() : string
Return values
stringgetEncoding()
Returns the text encoding.
public
getEncoding() : int
Return values
intgetText()
Returns the text content.
public
getText() : string
Return values
stringparse()
Parses the frame data.
public
parse(string $frameData) : self
Parameters
- $frameData : string
Return values
selfsetConductor()
Sets the conductor/performer refinement.
public
setConductor(string $conductor) : self
Parameters
- $conductor : string
Return values
selfsetEncoding()
Sets the text encoding.
public
setEncoding(int $encoding) : self
Parameters
- $encoding : int
Return values
selfsetText()
Sets the text content.
public
setText(string $text) : self
Parameters
- $text : string
Return values
selftoBytes()
Converts the frame to binary data.
public
toBytes() : string