Compatibility Object is reserved for future use. * * @package php-reader * @subpackage ASF * @author Sven Vollbehr * @copyright Copyright (c) 2008 The PHP Reader Project Workgroup * @license http://code.google.com/p/php-reader/wiki/License New BSD License * @version $Rev: 108 $ */ final class ASF_Object_Compatibility extends ASF_Object { /** @var integer */ private $_profile; /** @var integer */ private $_mode; /** * Constructs the class with given parameters and reads object related data * from the ASF file. * * @param Reader $reader The reader object. * @param Array $options The options array. */ public function __construct($reader, &$options = array()) { parent::__construct($reader, $options); $this->_profile = $this->_reader->readUInt8(); $this->_mode = $this->_reader->readUInt8(); } /** * Returns the profile field. This field is reserved and is set to 2. * * @return integer */ public function getProfile() { return $this->_profile; } /** * Returns the mode field. This field is reserved and is set to 1. * * @return integer */ public function getMode() { return $this->_mode; } }