HttpResponse
PHP Manual

HttpResponse::setContentType

(PECL pecl_http:0.10.0-1.5.5)

HttpResponse::setContentTypecontent type を設定する

説明

static bool HttpResponse::setContentType ( string $content_type )

送信されるエンティティの Content-Type を設定します。

パラメータ

content_type

送信されるエンティティの content type (primary/secondary)。

返り値

成功した場合に TRUE を返します。 content type にプライマリパート、セカンダリパートが含まれていない場合に FALSE を返します。

参考


HttpResponse
PHP Manual
[お役立ちリンク集]

NPO法人の設立(東京・大阪) 東京や大阪などNPO法人を設立する場合の注意点等を紹介

不動産・賃貸・マンション 不動産・賃貸・マンションに関する用語集です。

堺市の入院・内科

大阪の賃貸探し 大阪で賃貸を探している方は大阪ホームへ

東京の賃貸マンション 東京で賃貸を探すなら東京賃貸.orgへ