HTTP_Download::setResource()

HTTP_Download::setResource() -- Set resource for download

Synopsis

mixed HTTP_Download::setResource (mixed [$handle = null])

Описание

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.

Замечание: This cannot be used with resources of databases that populate their BLOBs as resource handles like PostgreSQL. A possible solution would be to write a stream wrapper.

Returns a PEAR_Error if $handle is no valid resource or not null.

Параметр

Возвращаемое значение

Возвращает TRUE при удаче и PEAR_Error в обратном случае.

Заметка

Эта функция не должна вызываться статически.


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ