Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
yii
web
Response
getIsEmpty
yii\web\Response::getIsEmpty PHP Method
Response Class Documentation
Show file
Open project: yiisoft/yii2
getIsEmpty()
public
method
public
getIsEmpty
( ) :
boolean
return
boolean
whether this response is empty
public function getIsEmpty() { return in_array($this->getStatusCode(), [201, 204, 304]); }
Response
clear
defaultFormatters
getCookies
getDispositionHeaderValue
getHeaders
getHttpRange
getIsClientError
getIsEmpty
getIsForbidden
getIsInformational
getIsInvalid
getIsNotFound
getIsOk
getIsRedirection
getIsServerError
getIsSuccessful
getStatusCode
init
prepare
redirect
refresh
send
sendContent
sendContentAsFile
sendCookies
sendFile
sendHeaders
sendStreamAsFile
setDownloadHeaders
setStatusCode
xSendFile