original_string: protected function echoPdf(\Zend_Pdf $pdf, $filename, $download = false, $exit = true)
      {
          $content = $pdf->render();
  
          $this->echoPdfContent($content, $filename, $download);
  
          if ($exit) {
              // No further output
              exit;
          }
      }
code: protected function echoPdf(\Zend_Pdf $pdf, $filename, $download = false, $exit = true)
      {
          $content = $pdf->render();
  
          $this->echoPdfContent($content, $filename, $download);
  
          if ($exit) {
              // No further output
              exit;
          }
      }
code_tokens: protected function echoPdf ( \ Zend_Pdf $ pdf , $ filename , $ download = false , $ exit = true ) { $ content = $ pdf -> render ( ) ; $ this -> echoPdfContent ( $ content , $ filename , $ download ) ; if ( $ exit ) { // No further output exit ; } }
docstring: Echos the pdf as output with the specified filename.
  
  When download is true the file is returned as a download link,
  otherwise the pdf is shown in the browser.
  
  @param \Zend_Pdf $pdf
  @param string $filename
  @param boolean $download
  @param boolean $exit Should the application stop running after output
docstring_tokens: Echos the pdf as output with the specified filename .