/** * Constructs the class with given parameters and parses object related * data. * * @param Zend_Io_Reader $reader The reader object. * @param Array $options The options array. */ public function __construct($reader = null, &$options = array()) { parent::__construct($reader, $options); if ($this->_reader === null) { return; } @(list($this->_number, $this->_total) = explode("/", $this->getText())); }
/** * Writes the frame raw data without the header. * * @param Zend_Io_Writer $writer The writer object. * @return void */ protected function _writeData($writer) { if ($this->getOption('version', 4) >= 4) { parent::_writeData($writer); } else { $this->setEncoding(Zend_Media_Id3_Encoding::ISO88591); parent::_writeData($writer); } }
/** * Writes the frame raw data without the header. * * @param Zend_Io_Writer $writer The writer object. * @return void */ protected function _writeData($writer) { $this->setEncoding(Zend_Media_Id3_Encoding::ISO88591); parent::_writeData($writer); }
/** * Writes the frame raw data without the header. * * @param Zend_Io_Writer $writer The writer object. * @return void */ protected function _writeData($writer) { $this->setText($this->_country . $this->_registrant . $this->_year . $this->_uniqueNumber, Zend_Media_Id3_Encoding::ISO88591); parent::_writeData($writer); }