Пример #1
0
 /**
  * Store Worksheet data in memory using the parent's class append() or to a
  * temporary file, the default.
  *
  * @param string $data The binary data to append
  */
 function _append($data)
 {
     if ($this->_using_tmpfile) {
         // Add CONTINUE records if necessary
         if (strlen($data) > $this->_limit) {
             $data = $this->_add_continue($data);
         }
         fwrite($this->_filehandle, $data);
         $this->_datasize += strlen($data);
     } else {
         parent::_append($data);
     }
 }