HTTP_Download::send (Previous) (Next) HTTP_Download::sendArchive

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

HTTP_Download::staticSend()

HTTP_Download::staticSend() --  スタティックな送出

説明

HTTP_Download オブジェクトをインスタンス化しないで、 ダウンロードするものをスタティックに送出します。

パラメータ

  • array $params - パラメータの連想配列:

    • 次のうちの一つ:

      • $params['file'] - ファイルパスを指定します。

      • $params['data'] - 生データを指定します。

      • $params['resource'] - リソースハンドルを指定します。

    • さらに、次のいくつか:

      • $params['gzip'] - gzip ダウンロードを行うかどうかを指定します。

      • $params['cache'] - ダウンロードするものをクライアント側に キャッシュさせるかどうかを指定します。

      • $params['lastmodified'] - 最終更新日時の UNIX タイムスタンプを指定します。

      • $params['contenttype'] - Content-type を指定します。

      • $params['contentdisposition'] - Content-disposition を指定します。

      • $params['buffersize'] - ファイルやリソースから 一度に読み込むバイト数を指定します。

      • $params['throttledelay'] - 各チャンク送出後の停止秒数を指定します。

  • bool [$guess = false] - guessContnentType() をコールするかどうかを指定します。

返り値

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

注意

この関数は、スタティックにコール されます。

HTTP_Download::send (Previous) (Next) HTTP_Download::sendArchive

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.