HTTP_Download::setResource() -- Set resource for download
Description
Set the resource handle to retrieve the data for the download.
The resource handle supplied will be closed after sending the download.
Set $handle to null if you want to unset.
Returns a PEAR_Error if $handle
is no valid resource or not null.
Return value
Returns TRUE on success,
PEAR_Error on failure.
Throws
Throws PEAR_Error.
Note
This function can not be called
statically.