HttpResponse::setLastModified
(PECL pecl_http >= 0.12.0)
HttpResponse::setLastModified — Set last modified
Описание
static
bool HttpResponse::setLastModified
( int $timestamp
)
Set a custom Last-Modified date.
Параметри
- timestamp
-
Unix timestamp representing the last modification time of the sent entity
Връщани стойности
Връща TRUE при успех или FALSE при неуспех.
Вж. също
- HttpResponse::getLastModified - Get last modified
- HttpResponse::getETag - Get ETag
- HttpResponse::setETag - Set ETag
There are no user contributed notes for this page.
