HttpResponse::setLastModified
(PECL pecl_http >= 0.12.0)
HttpResponse::setLastModified — Set last modified
Descrição
static
bool HttpResponse::setLastModified
( int $timestamp
)
Set a custom Last-Modified date.
Parâmetros
- timestamp
-
Unix timestamp representing the last modification time of the sent entity
Valor Retornado
Retorna TRUE em caso de sucesso ou FALSE em falhas.
Veja Também
- HttpResponse::getLastModified() - Get last modified
- HttpResponse::getETag() - Get ETag
- HttpResponse::setETag() - Set ETag
User Contributed Notes
HttpResponse::setLastModified
HttpResponse::setLastModified
There are no user contributed notes for this page.

HttpResponse::setHeader