Class ID3_Frame_AENC

Description

The Audio encryption indicates if the actual audio stream is encrypted, and by whom.

The identifier is a URL containing an email address, or a link to a location where an email address can be found, that belongs to the organisation responsible for this specific encrypted audio file. Questions regarding the encrypted audio should be sent to the email address specified. There may be more than one AENC frame in a tag, but only one with the same owner identifier.

Located in /ID3/Frame/AENC.php (line 61)

ID3_Object
   |
   --ID3_Frame
      |
      --ID3_Frame_AENC
Method Summary
ID3_Frame_AENC __construct ([Reader $reader = null], [ &$options = array()], Array $options)
string getEncryptionInfo ()
string getOwner ()
integer getPreviewLength ()
integer getPreviewStart ()
void setEncryptionInfo (string $encryptionInfo)
void setOwner (string $owner)
void setPreviewLength (integer $previewLength)
void setPreviewStart (integer $previewStart)
string __toString ()
Variables

Inherited Variables

Inherited from ID3_Frame

ID3_Frame::$_data

Inherited from ID3_Object

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

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

  • access: public
ID3_Frame_AENC __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.
getEncryptionInfo (line 147)

Returns the encryption info.

  • access: public
string getEncryptionInfo ()
getOwner (line 99)

Returns the owner identifier string.

  • access: public
string getOwner ()
getPreviewLength (line 130)

Returns the length of the preview in frames.

  • access: public
integer getPreviewLength ()
getPreviewStart (line 113)

Returns the pointer to an unencrypted part of the audio in frames.

  • access: public
integer getPreviewStart ()
setEncryptionInfo (line 154)

Sets the encryption info binary string.

  • access: public
void setEncryptionInfo (string $encryptionInfo)
  • string $encryptionInfo: The data string.
setOwner (line 106)

Sets the owner identifier string.

  • access: public
void setOwner (string $owner)
  • string $owner: The owner identifier string.
setPreviewLength (line 137)

Sets the length of the preview in frames.

  • access: public
void setPreviewLength (integer $previewLength)
  • integer $previewLength: The length of the preview.
setPreviewStart (line 120)

Sets the pointer to an unencrypted part of the audio in frames.

  • access: public
void setPreviewStart (integer $previewStart)
  • integer $previewStart: The pointer to an unencrypted part.
__toString (line 164)

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:18:16 +0300 by phpDocumentor 1.4.1