/**
  * This function will need to run at the bottom of all pages if output
  * buffering is turned on.  It also needs to be passed $mode from the
  * PMA_outBufferModeGet() function or it will be useless.
  *
  * @return void
  */
 public static function stop()
 {
     $buffer = PMA_OutputBuffering::getInstance();
     if ($buffer->_on) {
         $buffer->_on = false;
         $buffer->_content = ob_get_contents();
         ob_end_clean();
     }
     PMA_Response::response();
 }