Location: PHPKode > projects > Html2ps > html2ps-2.0.43/destination.download.class.php
<?php
class DestinationDownload extends DestinationHTTP {
  function DestinationDownload($filename) {
    $this->DestinationHTTP($filename);
  }

  function headers($content_type) {
    return array(
                 "Content-Disposition: attachment; filename=".$this->filename_escape($this->get_filename()).".".$content_type->default_extension,
                 "Content-Transfer-Encoding: binary",
                 "Cache-Control: must-revalidate, post-check=0, pre-check=0",
                 "Pragma: public"
                 );
  }
}
?>
Return current item: Html2ps