MP3_IDv2
[ class tree: MP3_IDv2 ] [ index: MP3_IDv2 ] [ all elements ]

Class: MP3_IDv2_Frame_CommonLink

Source Location: /MP3_IDv2-0.1.8/MP3/IDv2/Frame/CommonLink.php

Class Overview

MP3_IDv2_Frame
   |
   --MP3_IDv2_Frame_CommonLink

Data stucture for link frames in a tag.


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2006-2007 Alexander Merz

Methods


Child classes:

MP3_IDv2_Frame_WCOP
Data stucture for WCOP frame in a tag (URL for Commercial information)
MP3_IDv2_Frame_WCOM
Data stucture for WCOM frame in a tag (URL for Commercial information)
MP3_IDv2_Frame_WOAS
Data stucture for WOAS frame in a tag (Official audio source webpage)
MP3_IDv2_Frame_WOAF
Data stucture for WOAF frame in a tag (URL for Commercial information)
MP3_IDv2_Frame_WPUB
Data stucture for WPUB frame in a tag (Publishers official webpage)
MP3_IDv2_Frame_WPAY
Data stucture for WPAY frame in a tag (URL for payment information)
MP3_IDv2_Frame_WORS
Data stucture for WORS frame in a tag (Official internet radio station homepage)
MP3_IDv2_Frame_WOAR
Data stucture for WOAR frame in a tag (Official artist/performer webpage)
MP3_IDv2_Frame_WXXX
Data stucture for WXXX frame in a tag (User-defined URL)

Inherited Variables

Inherited Methods

Class: MP3_IDv2_Frame

MP3_IDv2_Frame::__construct()
Constructor
MP3_IDv2_Frame::createContent()
Creates the content from the frame data parts.
MP3_IDv2_Frame::createFrame()
Creates the whole frame (header + headerdata + content).
MP3_IDv2_Frame::createHeader()
Creates the header of the frame including the header extension according to the frame settings.
MP3_IDv2_Frame::getEncryptionMethod()
Get the encryption method for the frame data.
MP3_IDv2_Frame::getGroupIdentifier()
Get the group identifier of the frame
MP3_IDv2_Frame::getId()
Returns the identifier of the frame.
MP3_IDv2_Frame::getInstance()
Singleton method the create a specific frame object.
MP3_IDv2_Frame::getPurpose()
Returns the purpose of the frame
MP3_IDv2_Frame::getRawContent()
Returns the unprocessed content of the frame (excluding header)
MP3_IDv2_Frame::hasGroupingIdentifier()
Checks if the frame belongs to a group or should be
MP3_IDv2_Frame::isCompressed()
Checks if the frame data is compressed or should be
MP3_IDv2_Frame::isEncrypted()
Checks if the frame data is encrypted or should be
MP3_IDv2_Frame::isFlagFileAlterPres()
Checks if the header flag "File alter preservation" is set.
MP3_IDv2_Frame::isFlagReadOnly()
Checks if the frame is marked as read only
MP3_IDv2_Frame::isFlagTagAlterPres()
Checks if the header flag "Tag alter preservation" is set.
MP3_IDv2_Frame::setEncryptionMethod()
Sets the encryption method
MP3_IDv2_Frame::setFlagFileAlterPres()
Sets the header flag "File alter preservation"
MP3_IDv2_Frame::setFlagReadOnly()
Sets the header flag "Read only".
MP3_IDv2_Frame::setFlagTagAlterPres()
Sets the header flag "Tag alter preservation"
MP3_IDv2_Frame::setGroupIdentifier()
Sets the grouping identifier for the frame.
MP3_IDv2_Frame::setId()
Sets the identifier of the frame.
MP3_IDv2_Frame::setPurpose()
Sets the purpose text of the frame
MP3_IDv2_Frame::setRawContent()
Sets the unproccess content of the frame (excluding header!)
MP3_IDv2_Frame::toString()
Returns the frame content as something printable
MP3_IDv2_Frame::useCompression()
Enables/disables the compression of the frame data
MP3_IDv2_Frame::useEncryption()
Enables/disables the use of encryption for the frame data
MP3_IDv2_Frame::useGroupingIdentifier()
Enables/disables the use of a group identifier

Class Details

[line 52]
Data stucture for link frames in a tag.

These frames starts with a W in the frame identifier except 'wxxx'.



[ Top ]


Method Detail

createContent   [line 69]

string createContent( )

Creates the content of the frame
  • Return: the frame content
  • Access: public

Overridden in child classes as:

MP3_IDv2_Frame_WXXX::createContent()
Creates the content of the frame

Overrides MP3_IDv2_Frame::createContent() (Creates the content from the frame data parts.)
[ Top ]

getUrl   [line 107]

string getUrl( )

Gets the URL in the frame.
  • Return: the URL
  • Access: public

Overridden in child classes as:

MP3_IDv2_Frame_WXXX::getUrl()
Returns the frame value.

[ Top ]

setRawContent   [line 81]

void setRawContent( string $content)

Sets the data of the frame and processes it.
  • Access: public

Overridden in child classes as:

MP3_IDv2_Frame_WXXX::setRawContent()
Sets the data of the frame and processes it.

Overrides MP3_IDv2_Frame::setRawContent() (Sets the unproccess content of the frame (excluding header!))

Parameters:

string   $content   —  the unproccess content for the frame

[ Top ]

setUrl   [line 96]

void setUrl( string $url)

Sets the URL in the frame.
  • Access: public

Overridden in child classes as:

MP3_IDv2_Frame_WXXX::setUrl()
Sets the Url for the frame

Parameters:

string   $url   —  the url

[ Top ]

toString   [line 117]

string toString( )

Returns the frame content as something printable
  • Return: the frame content
  • Access: public

Overrides MP3_IDv2_Frame::toString() (Returns the frame content as something printable)
[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:49:42 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.