lib/PHPRtfLite/StreamOutput.php
public function write($data)
    {
        if ($this->_handle === null) {
            throw new PHPRtfLite_Exception('Can not write on an undefined handle! Forgot to call open()?');
        }
        fwrite($this->_handle, $data);
    }
public function write($data)
    {
        if ($this->_handle === null) {
            throw new PHPRtfLite_Exception('Can not write on an undefined handle! Forgot to call open()?');
        }
        fwrite($this->_handle, $data);
    }
public function write ( $ data ) { if ( $ this -> _handle === null ) { throw new PHPRtfLite_Exception ( 'Can not write on an undefined handle! Forgot to call open()?' ) ; } fwrite ( $ this -> _handle , $ data ) ; }
writes string to file handler

@param string $data
@throws PHPRtfLite_Exception
writes string to file handler