HTTP_Download::setData (Previous) (Next) HTTP_Download::setGzip

View this page in Last updated: Sun, 07 Sep 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

HTTP_Download::setResource()

HTTP_Download::setResource() -- ダウンロードのためのリソースをセットする

説明

データのダウンロードを処理するリソースハンドルをセットします。

提供されたリソースハンドルは、ダウンロードするものを送出した後、 クローズされます。

クリアする場合、$handle に null をセットしてください。

注意 これは PostgreSQL のように BLOB がリソースハンドルとして提供されているデータベースのリソースと 共に使用する事はできません。 可能な解決策は、stream wrapper を書くことです。

もし、$handleが有効なりソースではない、 もしくは null でない場合、PEAR_Error が返されます。

パラメータ

  • mixed [$handle = null] - (int) リソースハンドル、または null を指定します。

返り値

成功時には TRUE、 失敗時には PEAR_Error を返します。

注意

この関数は、スタティックにコールする ことはできません。

HTTP_Download::setData (Previous) (Next) HTTP_Download::setGzip

Download Documentation Last updated: Sun, 07 Sep 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.