/**
  * Breaks us out of any output buffering so that any content echo'd out
  * will echo out as it happens, instead of waiting for the end of all
  * content to echo out. This is especially handy for long running
  * scripts like might be involved in cron scripts.
  *
  * @return void
  */
 public function render_realtime()
 {
     if (ob_get_level() > 0) {
         end_end_flush();
     }
     ob_implicit_flush(true);
 }
Example #2
0
 /**
  * Breaks us out of any output buffering so that any content echo'd out
  * will echo out as it happens, instead of waiting for the end of all
  * content to echo out. This is especially handy for long running
  * scripts like might be involved in cron scripts.
  *
  * @return void
  */
 public function renderRealtime()
 {
     if (ob_get_level() > 0) {
         end_end_flush();
     }
     ob_implicit_flush(TRUE);
 }