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:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user