* @copyright Copyright (c) 2008 The PHP Reader Project Workgroup * @license http://code.google.com/p/php-reader/wiki/License New BSD License * @version $Rev: 92 $ */ final class ISO14496_Box_CDSC extends ISO14496_Box { /** @var Array */ private $_trackId = array(); /** * Constructs the class with given parameters and reads box related data from * the ISO Base Media file. * * @param Reader $reader The reader object. */ public function __construct($reader, &$options = array()) { parent::__construct($reader, $options); while ($this->_reader->getOffset <= $this->getSize()) $this->_trackId[] = $this->_reader->readUInt32BE(); } /** * Returns an array of integer references from the containing track to another * track in the presentation. Track IDs are never re-used and cannot be equal * to zero. * * @return integer */ public function getTrackId() { return $this->_trackId; } }