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.

Paramètres

Voir aussi

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

Valeur retournée

Retourne TRUE en cas de succès, un objet PEAR_Error en cas d'échec.

Note

Cette fonction ne peut pas être appelée de façon statique.