cvs: pear /MP3_Id MP3_Id.php

From: Date: Mon, 15 Oct 2001 23:42:19 +0000
Subject: cvs: pear /MP3_Id MP3_Id.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-1031@lists.php.net to get a copy of this message
alexmerz Mon Oct 15 19:42:19 2001 EDT Modified files: /pear/MP3_Id MP3_Id.php Log: - forgot to remove test code - fix phpdoc Index: pear/MP3_Id/MP3_Id.php diff -u pear/MP3_Id/MP3_Id.php:1.2 pear/MP3_Id/MP3_Id.php:1.3 --- pear/MP3_Id/MP3_Id.php:1.2 Mon Oct 15 19:37:38 2001 +++ pear/MP3_Id/MP3_Id.php Mon Oct 15 19:42:19 2001 @@ -11,7 +11,7 @@ // | Authors: Sandy McArthur Jr. <Leknor@Leknor.com> | // +----------------------------------------------------------------------+ // -// $Id: MP3_Id.php,v 1.2 2001/10/15 23:37:38 alexmerz Exp $ +// $Id: MP3_Id.php,v 1.3 2001/10/15 23:42:19 alexmerz Exp $ // // Uncomment the folling define if you want the class to automatically @@ -31,14 +31,6 @@ include "PEAR.php" ; - $id3 = new MP3_id(); - if( PEAR::isError($t = $id3-> read('g:/musikmp3/n.txt'))) echo "hilfe" ; - print_r( $t) ; -// $id3->setField('artists', "Heino"); -// echo $id3->getField('artists'); -// $id3->write() ; - - /** * A Class for reading/writing MP3 ID3 tags * @@ -481,8 +473,7 @@ /* * writes a ID3 v1 or v1.1 tag to a file * - * if there is an error it will return false and a message will be - * put in $this->error + * @return mixed returns PEAR_Error when fails */ function _write_v1() { if ($this->debug) print($this->debugbeg . "_write_v1()<HR>\n"); @@ -612,7 +603,7 @@ /** * reads a frame from the file * - * @return mixed false if fails + * @return mixed PEAR_Error when fails */ function _readframe() { if ($this->debug) print($this->debugbeg . "_readframe()<HR>\n");

« previous php.pear.cvs (#1031) next »