Class ID3_Frame_USLT

Description

Implements interfaces:

The Unsynchronised lyrics/text transcription frame contains the lyrics of the song or a text transcription of other vocal activities. There may be more than one unsynchronised lyrics/text transcription frame in each tag, but only one with the same language and content descriptor.

Located in /ID3/Frame/USLT.php (line 58)

ID3_Object
   |
   --ID3_Frame
      |
      --ID3_Frame_USLT
Method Summary
ID3_Frame_USLT __construct ([Reader $reader = null], [ &$options = array()], Array $options)
string getDescription ()
integer getEncoding ()
string getLanguage ()
string getText ()
void setDescription (string $description, [string $language = false], [integer $encoding = false])
void setEncoding (integer $encoding)
void setLanguage (string $language)
void setText (mixed $text, [string $language = false], [integer $encoding = false])
string __toString ()
Variables

Inherited Variables

Inherited from ID3_Frame

ID3_Frame::$_data

Inherited from ID3_Object

ID3_Object::$_reader
Methods
Constructor __construct (line 79)

Constructs the class with given parameters and parses object related data.

  • access: public
ID3_Frame_USLT __construct ([Reader $reader = null], [ &$options = array()], Array $options)
  • Reader $reader: The reader object.
  • Array $options: The options array.
  • &$options

Redefinition of:
ID3_Frame::__construct()
Constructs the class with given parameters and reads object related data from the ID3v2 tag.
getDescription (line 155)

Returns the short content description.

  • access: public
string getDescription ()
getEncoding (line 118)

Returns the text encoding.

  • access: public
integer getEncoding ()

Implementation of:
ID3_Encoding::getEncoding()
Returns the text encoding.
getLanguage (line 134)

Returns the language code as specified in the ISO-639-2 standard.

  • access: public
string getLanguage ()

Implementation of:
ID3_Language::getLanguage()
Returns the text language code.
getText (line 180)

Returns the lyrics/text.

  • access: public
string getText ()
setDescription (line 165)

Sets the content description text using given encoding. The description language and encoding must be that of the actual text.

  • access: public
void setDescription (string $description, [string $language = false], [integer $encoding = false])
  • string $description: The content description text.
  • string $language: The language code.
  • integer $encoding: The text encoding.
setEncoding (line 126)

Sets the text encoding.

void setEncoding (integer $encoding)
  • integer $encoding: The text encoding.

Implementation of:
ID3_Encoding::setEncoding()
Sets the text encoding.
setLanguage (line 143)

Sets the text language code as specified in the ISO-639-2 standard.

void setLanguage (string $language)
  • string $language: The language code.

Implementation of:
ID3_Language::setLanguage()
Sets the text language code.
setText (line 190)

Sets the text using given encoding. The text language and encoding must be that of the description text.

  • access: public
void setText (mixed $text, [string $language = false], [integer $encoding = false])
  • mixed $text: The test string.
  • string $language: The language code.
  • integer $encoding: The text encoding.
__toString (line 204)

Returns the frame raw data.

  • access: public
string __toString ()

Redefinition of:
ID3_Frame::__toString()
Returns the frame raw data.

Inherited Methods

Inherited From ID3_Frame

ID3_Frame::__construct()
ID3_Frame::getFlags()
ID3_Frame::getIdentifier()
ID3_Frame::getSize()
ID3_Frame::hasFlag()
ID3_Frame::setData()
ID3_Frame::setFlags()
ID3_Frame::setIdentifier()
ID3_Frame::__toString()

Inherited From ID3_Object

ID3_Object::__construct()
ID3_Object::decodeSynchsafe32()
ID3_Object::decodeUnsynchronisation()
ID3_Object::encodeSynchsafe32()
ID3_Object::encodeUnsynchronisation()
ID3_Object::explodeString8()
ID3_Object::explodeString16()
ID3_Object::getOption()
ID3_Object::getOptions()
ID3_Object::setOption()
ID3_Object::setOptions()
ID3_Object::__get()
ID3_Object::__set()
Class Constants

Documentation generated on Fri, 05 Sep 2008 20:20:09 +0300 by phpDocumentor 1.4.1