From 29035c4743964c6eb371140dc744a59f512e0170 Mon Sep 17 00:00:00 2001 From: svollbehr Date: Tue, 28 Dec 2010 16:46:58 +0000 Subject: [PATCH] Update fix for issue 43 git-svn-id: http://php-reader.googlecode.com/svn/trunk@210 51a70ab9-7547-0410-9469-37e369ee0574 --- src/Zend/Media/Iso14496/Box/Chpl.php | 20 ++++++++++++++++++++ src/Zend/Media/Iso14496/Box/Ndrm.php | 20 ++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/src/Zend/Media/Iso14496/Box/Chpl.php b/src/Zend/Media/Iso14496/Box/Chpl.php index d1f171c..63536f8 100644 --- a/src/Zend/Media/Iso14496/Box/Chpl.php +++ b/src/Zend/Media/Iso14496/Box/Chpl.php @@ -65,6 +65,26 @@ final class Zend_Media_Iso14496_Box_Chpl extends Zend_Media_Iso14496_FullBox $this->_data = $reader->read($this->getSize() - 12); } + /** + * Returns the raw binary data. + * + * @return string + */ + public function getData() + { + return $this->_data; + } + + /** + * Sets the raw binary data. + * + * @param string $data The data. + */ + public function setData($data) + { + $this->_data = $data; + } + /** * Returns the box heap size in bytes. * diff --git a/src/Zend/Media/Iso14496/Box/Ndrm.php b/src/Zend/Media/Iso14496/Box/Ndrm.php index 9db6ebb..9eb1dcd 100644 --- a/src/Zend/Media/Iso14496/Box/Ndrm.php +++ b/src/Zend/Media/Iso14496/Box/Ndrm.php @@ -65,6 +65,26 @@ final class Zend_Media_Iso14496_Box_Ndrm extends Zend_Media_Iso14496_FullBox $this->_data = $reader->read($this->getSize() - 12); } + /** + * Returns the raw binary data. + * + * @return string + */ + public function getData() + { + return $this->_data; + } + + /** + * Sets the raw binary data. + * + * @param string $data The data. + */ + public function setData($data) + { + $this->_data = $data; + } + /** * Returns the box heap size in bytes. *