original_string: public function write($data, $debug = true)
      {
          if (fwrite($this->_stream, $data . "\r\n") === false) {
              throw new Horde_Imap_Client_Exception(
                  Horde_Imap_Client_Translation::r("Server write error."),
                  Horde_Imap_Client_Exception::SERVER_WRITEERROR
              );
          }
  
          if ($debug) {
              $this->_params['debug']->client($data);
          }
      }
code: public function write($data, $debug = true)
      {
          if (fwrite($this->_stream, $data . "\r\n") === false) {
              throw new Horde_Imap_Client_Exception(
                  Horde_Imap_Client_Translation::r("Server write error."),
                  Horde_Imap_Client_Exception::SERVER_WRITEERROR
              );
          }
  
          if ($debug) {
              $this->_params['debug']->client($data);
          }
      }
code_tokens: public function write ( $ data , $ debug = true ) { if ( fwrite ( $ this -> _stream , $ data . "\r\n" ) === false ) { throw new Horde_Imap_Client_Exception ( Horde_Imap_Client_Translation :: r ( "Server write error." ) , Horde_Imap_Client_Exception :: SERVER_WRITEERROR ) ; } if ( $ debug ) { $ this -> _params [ 'debug' ] -> client ( $ data ) ; } }
docstring: Writes data to the POP3 output stream.
  
  @param string $data    String data.
  @param boolean $debug  Output line to debug?
  
  @throws Horde_Imap_Client_Exception
docstring_tokens: Writes data to the POP3 output stream .