/**
  * Returns the content, or, if streaming, shows what content we have added
  * and saves the footer for later.
  * @return unknown_type
  */
 public function showContent()
 {
     if (isset($this->authRequired) && $this->authRequired == true) {
         if (AuthUser::hasAuth()) {
             echo $this->content;
         } else {
             Server::redirect('/Home/login?r=' . $_SERVER['REQUEST_URI']);
         }
     } else {
         echo $this->content;
     }
     if ($this->stream_depth > 0) {
         ob_flush();
         flush();
         // Record the footer
         ob_start();
     }
 }