HTTP_Download::setThrottleDelay (Previous) (Next) HTTP_Download::setLastModified

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

HTTP_Download::setContentType()

HTTP_Download::setContentType() --  Content-type をセットする

説明

ダウンロードのための適切な Content-type をセットします。

例:

  • application/pdf

  • application/zip

  • text/css

もし、$content_type が有効でない場合、 PEAR_Error が返されます。

パラメータ

  • string [$content_type = 'application/x-octetstream'] - 適切な Content-type を指定します。

返り値

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

注意

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

HTTP_Download::setThrottleDelay (Previous) (Next) HTTP_Download::setLastModified

Download Documentation Last updated: Sun, 05 Oct 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.