PHP Dokumentation: Function httpresponse-getcontenttype
12. Januar 2010 von werner
HttpResponse::getContentType
(PECL pecl_http >= 0.10.0)
HttpResponse::getContentType — Get content type
Beschreibung
static string HttpResponse::getContentType ( void )
Get current Content-Type header setting.
Rückgabewerte
Returns the currently set content type as string.
Siehe auch
- HttpResponse::getContentDisposition – Get content disposition
- HttpResponse::setContentDisposition – Set content disposition
- HttpResponse::setContentType – Set content type
- HttpResponse::guessContentType – Guess content type