The base class for all ID3v2 objects.
Located in /ID3/Object.php (line 49)
Class | Description |
---|---|
ID3_ExtendedHeader | The extended header contains information that can provide further insight in the structure of the tag, but is not vital to the correct parsing of the tag information; hence the extended header is optional. |
ID3_Frame | A base class for all ID3v2 frames as described in the ID3v2 frames document. |
ID3_Header | The first part of the ID3v2 tag is the 10 byte tag header. The header contains information about the tag version and options. |
The reader object.
Constructs the class with given parameters and reads object related data from the ID3v2 tag.
Decodes the given 28-bit synchsafe integer to regular 32-bit integer.
Reverses the unsynchronisation scheme from the given data string.
Encodes the given 32-bit integer to 28-bit synchsafe integer, where the most significant bit of each byte is zero, making seven bits out of eight available.
Applies the unsynchronisation scheme to the given data string.
Whenever a false synchronisation is found within the data, one zeroed byte is inserted after the first false synchronisation byte. This has the side effect that all 0xff00 combinations have to be altered, so they will not be affected by the decoding process. Therefore all the 0xff00 combinations have to be replaced with the 0xff0000 combination during the unsynchronisation.
Splits UTF-8 or ISO-8859-1 formatted binary data according to null terminators residing in the string, up to a given limit.
Splits UTF-16 formatted binary data up according to null terminators residing in the string, up to a given limit.
Returns the given option value, or the default value if the option is not defined.
Returns the options array.
Sets the given option the given value.
Sets the options array. See ID3v2 class for available options.
Magic function so that $obj->value will work.
Magic function so that assignments with $obj->value will work.
Documentation generated on Fri, 05 Sep 2008 20:19:10 +0300 by phpDocumentor 1.4.1