function output($options = null) {
		//Helpers::dompdf_debug("trace", "($options[compress])");

		// Add page text
		$this->_add_page_text();
		$this->_add_internal_links();

		$this->_place_objects();

		if ( isset($options["compress"]) && $options["compress"] == 0 ) {
			$compress = false;
		}
		else {
			$compress = true;
		}

		$this->_pdf->SetCompression($compress);

		return $this->_pdf->Output('', 'S');
	}
function output($options = null) {
		//Helpers::dompdf_debug("trace", "($options[compress])");

		// Add page text
		$this->_add_page_text();
		$this->_add_internal_links();

		$this->_place_objects();

		if ( isset($options["compress"]) && $options["compress"] == 0 ) {
			$compress = false;
		}
		else {
			$compress = true;
		}

		$this->_pdf->SetCompression($compress);

		return $this->_pdf->Output('', 'S');
	}
function output ( $ options = null ) { //Helpers::dompdf_debug("trace", "($options[compress])"); // Add page text $ this -> _add_page_text ( ) ; $ this -> _add_internal_links ( ) ; $ this -> _place_objects ( ) ; if ( isset ( $ options [ "compress" ] ) && $ options [ "compress" ] == 0 ) { $ compress = false ; } else { $ compress = true ; } $ this -> _pdf -> SetCompression ( $ compress ) ; return $ this -> _pdf -> Output ( '' , 'S' ) ; }
Returns the PDF as a string

@param array  $options associative array: 'compress' => 1 or 0
@return string
Returns the PDF as a string