Class SGL_Download

Description

Wrapper around PEAR HTTP/Download class to workaround some limits of that class.

  • author: Pierpaolo Toniolo
  • version: $Revision: 1.4 $

Located in /SGL/Download.php (line 51)

HTTP_Download
   |
   --SGL_Download
Method Summary
 void setAcceptRanges ( $param, string $par)
 void setContentTransferEncoding ( $param, string $par)
Methods
setAcceptRanges (line 62)

set the Accept-Range HTTP header typical values are 'none' or 'bytes'

  • access: public
void setAcceptRanges ( $param, string $par)
  • string $par: the value for the HTTP header Accept-Ranges
  • $param
setContentTransferEncoding (line 78)

set the Content-Transfer-Encoding HTTP header

  • access: public
void setContentTransferEncoding ( $param, string $par)
  • string $par: the value for the HTTP header Content-Transfer-Encoding
  • $param

Documentation generated on Tue, 23 Feb 2010 18:14:29 +0000 by phpDocumentor 1.4.3