Add missing Id3v2 class

git-svn-id: http://php-reader.googlecode.com/svn/branches/zend@154 51a70ab9-7547-0410-9469-37e369ee0574
This commit is contained in:
svollbehr
2009-05-31 06:17:55 +00:00
parent 6a78fc508e
commit 44b19c9e37
4 changed files with 1318 additions and 673 deletions

View File

@@ -70,9 +70,9 @@ abstract class Zend_Media_Id3_Object
*
* @return Array
*/
public final function getOptions()
public final function &getOptions()
{
return $this->_options;
return $this->_options;
}
/**
@@ -98,7 +98,7 @@ abstract class Zend_Media_Id3_Object
*/
public final function setOptions(&$options)
{
$this->_options = &$options;
$this->_options = &$options;
}
/**
@@ -112,6 +112,16 @@ abstract class Zend_Media_Id3_Object
$this->_options[$option] = $value;
}
/**
* Clears the given option value.
*
* @param string $option The name of the option.
*/
public final function clearOption($option)
{
unset($this->_options[$option]);
}
/**
* Magic function so that $obj->value will work.
*