Minor fixes

git-svn-id: http://php-reader.googlecode.com/svn/trunk@101 51a70ab9-7547-0410-9469-37e369ee0574
This commit is contained in:
svollbehr
2008-05-13 20:28:13 +00:00
parent fc3f1c43f2
commit 95345494fb
4 changed files with 34 additions and 5 deletions

View File

@@ -136,7 +136,7 @@ final class ID3_Header extends ID3_Object
*
* @return integer
*/
public function getFlags($flags) { return $this->_flags; }
public function getFlags() { return $this->_flags; }
/**
* Sets the flags byte.

View File

@@ -123,7 +123,7 @@ abstract class ID3_Object
{
if (method_exists($this, "get" . ucfirst($name)))
return call_user_func(array($this, "get" . ucfirst($name)));
else throw new Reader_Exception("Unknown field: " . $name);
else throw new ID3_Exception("Unknown field: " . $name);
}
/**
@@ -138,7 +138,7 @@ abstract class ID3_Object
if (method_exists($this, "set" . ucfirst($name)))
call_user_func
(array($this, "set" . ucfirst($name)), $value);
else throw new Reader_Exception("Unknown field: " . $name);
else throw new ID3_Exception("Unknown field: " . $name);
}
/**

View File

@@ -170,7 +170,7 @@ require_once("ISO14496/Box.php");
* <li>trun -- <i>{@link ISO14496_Box_TRUN Track Fragment Run}</i>
* <li>sdtp -- <i>{@link ISO14496_Box_SDTP Independent and Disposable
* Samples}</i>
* <li>sbgp -- <i>{@link ISO14496_Box_SBGP SampleToGroup Box}</i>
* <li>sbgp -- <i>{@link ISO14496_Box_SBGP !SampleToGroup Box}</i>
* <li>subs -- <i>{@link ISO14496_Box_SUBS Sub-Sample Information Box}</i>
* </ul>
* </ul>

View File

@@ -40,7 +40,36 @@ require_once("ISO14496/Box.php");
/**#@-*/
/**
* A container box for all the iTunes/iPod specific boxes.
* A container box for all the iTunes/iPod specific boxes. A list of well known
* boxes is provided in the following table. The value for each box is contained
* in a nested {@link ISO14496_Box_DATA Data Box}.
*
* <ul>
* <li><b>_nam</b> -- <i>Name of the track</i></li>
* <li><b>_ART</b> -- <i>Name of the artist</i></li>
* <li><b>aART</b> -- <i>Name of the album artist</i></li>
* <li><b>_alb</b> -- <i>Name of the album</i></li>
* <li><b>_grp</b> -- <i>Grouping</i></li>
* <li><b>_day</b> -- <i>Year of publication</i></li>
* <li><b>trkn</b> -- <i>Track number (number/total)</i></li>
* <li><b>disk</b> -- <i>Disk number (number/total)</i></li>
* <li><b>tmpo</b> -- <i>BPM tempo</i></li>
* <li><b>_wrt</b> -- <i>Name of the composer</i></li>
* <li><b>_cmt</b> -- <i>Comments</i></li>
* <li><b>_gen</b> -- <i>Genre as string</i></li>
* <li><b>gnre</b> -- <i>Genre as an ID3v1 code, added by one</i></li>
* <li><b>cpil</b> -- <i>Part of a compilation (0/1)</i></li>
* <li><b>tvsh</b> -- <i>Name of the (television) show</i></li>
* <li><b>sonm</b> -- <i>Sort name of the track</i></li>
* <li><b>soar</b> -- <i>Sort name of the artist</i></li>
* <li><b>soaa</b> -- <i>Sort name of the album artist</i></li>
* <li><b>soal</b> -- <i>Sort name of the album</i></li>
* <li><b>soco</b> -- <i>Sort name of the composer</i></li>
* <li><b>sosn</b> -- <i>Sort name of the show</i></li>
* <li><b>_lyr</b> -- <i>Lyrics</i></li>
* <li><b>covr</b> -- <i>Cover (or other) artwork binary data</i></li>
* <li><b>_too</b> -- <i>Information about the software</i></li>
* </ul>
*
* @package php-reader
* @subpackage ISO 14496