Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
ManaPHP
Http
ResponseInterface
setContentType
ManaPHP\Http\ResponseInterface::setContentType PHP Method
ResponseInterface Interface Documentation
Datei anzeigen
Open project: manaphp/manaphp
setContentType()
public
method
Sets the response content-type mime, optionally the charset
public
setContentType
(
string
$contentType
,
string
$charset
= null ) :
static
$contentType
string
$charset
string
return
static
public function setContentType($contentType, $charset = null);
ResponseInterface
appendContent
getContent
redirect
send
sendHeaders
setAttachment
setContent
setContentType
setCsvContent
setExpires
setFileToSend
setHeader
setJsonContent
setNotModified
setRawHeader
setStatusCode