Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Cake
Network
Response
_setContent
Cake\Network\Response::_setContent PHP Метод
Документация по классу Response
Показать файл
Открыть проект
_setContent()
защищенный
Метод
Sets the response body to an empty text if the status code is 204 or 304
protected
_setContent
( ) :
void
Результат
void
protected function _setContent() { if (in_array($this->_status, [304, 204])) { $this->body(''); } }
Response
__construct
__debugInfo
__toString
_clearBuffer
_fileRange
_flushBuffer
_getUTCDate
_isActive
_sendContent
_sendFile
_sendHeader
_setCacheControl
_setContent
_setContentType
_setCookies
body
cache
charset
checkNotModified
compress
cookie
cors
disableCache
download
etag
expires
file
getFile
getMimeType
header
httpCodes
length
location
mapType
maxAge
modified
mustRevalidate
notModified
outputCompressed
protocol
send
sendHeaders
sharable
sharedMaxAge
statusCode
stop
type
vary