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 60)

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::$_options
ID3_Object::$_reader
Methods
Constructor __construct (line 80)

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 146)

Returns the encryption info.

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

Returns the owner identifier string.

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

Returns the length of the preview in frames.

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

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

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

Sets the encryption info binary string.

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

Sets the owner identifier string.

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

Sets the length of the preview in frames.

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

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 163)

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::encodeSynchsafe32()
ID3_Object::getOptions()
ID3_Object::setOptions()
ID3_Object::__get()
ID3_Object::__set()
Class Constants

Documentation generated on Tue, 15 Apr 2008 03:32:53 +0300 by phpDocumentor 1.4.1