downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

HttpResponse::setData> <HttpResponse::setContentDisposition
Last updated: Fri, 13 Nov 2009

view this page in

HttpResponse::setContentType

(PECL pecl_http >= 0.10.0)

HttpResponse::setContentTypeİçerik türü belirtilir

Açıklama

static bool HttpResponse::setContentType ( string $içerik_türü )

Gönderilecek öğenin içerik türü (Content-Type) belirtilir.

Değiştirgeler

içerik_türü

Gönderilecek öğenin içerik türü (birincil/ikincil).

Dönen Değerler

Başarı durumunda TRUE döndürür. Aksi takdirde, içerik türü birincil ve ikincil parçaları içermiyor gibi görünüyorsa FALSE döner.

Ayrıca Bakınız



add a note add a note User Contributed Notes
HttpResponse::setContentType
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites