This class represents a file containing ID3v1 headers as described in The ID3-Tag Specification Appendix.
Located in /ID3v1.php (line 55)
The genre list.
Constructs the ID3v1 class with given file. The file is not mandatory argument and may be omitted. A new tag can be written to a file also by giving the filename to the #write method of this class.
Returns the album field.
Returns the artist field.
Returns the comment field.
Returns the genre.
Returns the title field.
Returns the track field.
Returns the year field.
Sets a new value for the album field. The field cannot exceed 30 characters in length.
Sets a new value for the artist field. The field cannot exceed 30 characters in length.
Sets a new value for the comment field. The field cannot exceed 30 characters in length.
Sets a new value for the genre field. The value may either be a numerical code representing one of the genres, or its string variant.
The genre is set to unknown (code 255) in case the string is not found from the static $genres array of this class.
Sets a new value for the title field. The field cannot exceed 30 characters in length.
Sets a new value for the track field. By setting this field you enforce the 1.1 version to be used.
Sets a new value for the year field. The field cannot exceed 4 characters in length.
Writes the possibly altered ID3v1 tag back to the file where it was read.
If the class was constructed without a file name, one can be provided here as an argument. Regardless, the write operation will override previous tag information, if found.
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:18:50 +0300 by phpDocumentor 1.4.1