previousHTTP_Download::setResource (Previous) (Next) HTTP_Download::setCachenext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

HTTP_Download::setGzip

HTTP_Download::setGzip() – Whether to gzip the download on the fly or not. (requires ext/zlib)

Synopsis

mixed HTTP_Download::setGzip ( bool $gzip = false )

Description

Define whether you want to send the download gzipped or not.

Returns a PEAR_Error if ext/zlib is not available.

Parameter

  • bool $gzip = false - whether to gzip the download on the fly

Return value

Returns TRUE on success, PEAR_Error on failure.

Note

This function can not be called statically.

previousHTTP_Download::setResource (Previous) (Next) HTTP_Download::setCachenext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.