original_string: protected function _close()
      {
          $this->_place_objects();
  
          // Close all pages
          $this->_pdf->suspend_page("");
          for ($p = 1; $p <= $this->_page_count; $p++) {
              $this->_pdf->resume_page("pagenumber=$p");
              $this->_pdf->end_page_ext("");
          }
  
          $this->_pdf->end_document("");
      }
code: protected function _close()
      {
          $this->_place_objects();
  
          // Close all pages
          $this->_pdf->suspend_page("");
          for ($p = 1; $p <= $this->_page_count; $p++) {
              $this->_pdf->resume_page("pagenumber=$p");
              $this->_pdf->end_page_ext("");
          }
  
          $this->_pdf->end_document("");
      }
code_tokens: protected function _close ( ) { $ this -> _place_objects ( ) ; // Close all pages $ this -> _pdf -> suspend_page ( "" ) ; for ( $ p = 1 ; $ p <= $ this -> _page_count ; $ p ++ ) { $ this -> _pdf -> resume_page ( "pagenumber=$p" ) ; $ this -> _pdf -> end_page_ext ( "" ) ; } $ this -> _pdf -> end_document ( "" ) ; }
docstring: Close the pdf
docstring_tokens: Close the pdf