original_string: public function echoPdfContent($content, $filename, $download = false)
      {
          // \MUtil_Echo::track($filename);
          if ($download) {
              // Download & save
  			header('Content-Type: application/x-download');
          } else {
              //We send to a browser
              header('Content-Type: application/pdf');
          }
          header('Content-Length: '.strlen($content));
          header('Content-Disposition: inline; filename="'.$filename.'"');
          header('Cache-Control: private, max-age=0, must-revalidate');
          header('Pragma: public');
  
          echo $content;
      }
code: public function echoPdfContent($content, $filename, $download = false)
      {
          // \MUtil_Echo::track($filename);
          if ($download) {
              // Download & save
  			header('Content-Type: application/x-download');
          } else {
              //We send to a browser
              header('Content-Type: application/pdf');
          }
          header('Content-Length: '.strlen($content));
          header('Content-Disposition: inline; filename="'.$filename.'"');
          header('Cache-Control: private, max-age=0, must-revalidate');
          header('Pragma: public');
  
          echo $content;
      }
code_tokens: public function echoPdfContent ( $ content , $ filename , $ download = false ) { // \MUtil_Echo::track($filename); if ( $ download ) { // Download & save header ( 'Content-Type: application/x-download' ) ; } else { //We send to a browser header ( 'Content-Type: application/pdf' ) ; } header ( 'Content-Length: ' . strlen ( $ content ) ) ; header ( 'Content-Disposition: inline; filename="' . $ filename . '"' ) ; header ( 'Cache-Control: private, max-age=0, must-revalidate' ) ; header ( 'Pragma: public' ) ; echo $ content ; }
docstring: Output the pdf with the right headers.
  
  @param string $content The content to echo
  @param string $filename The filename as reported to the downloader
  @param boolean $download Download to file or when false: show in browser
docstring_tokens: Output the pdf with the right headers .