HTTP_Download::setParams()

HTTP_Download::setParams() -- Set various parameters

Synopsis

mixed HTTP_Download::setParams (array $params)

Description

Set the parameters for the download.

You can use this method as an alternative to passing the parameters in the constructor or calling the setter of each parameter.

Parameter

See

See also setFile(), setData(), setResource(), setGzip(), setCache(), setContentType(), setLastModified(), setContentDisposition(), setBufferSize(), setThrottleDelay(), setCacheControl().

Return value

Returns TRUE on success, PEAR_Error on failure.

Note

This function can not be called statically.