HTTP_Download::setParams()

HTTP_Download::setParams() -- Set various parameters

Synopsis

mixed HTTP_Download::setParams (array $params)

Beschreibung

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

Siehe auch

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

Rückgabewert

Gibt bei Erfolg TRUE zurück, bei einem Fehler ein Objekt der Klasse PEAR_Error.

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.