HttpResponse::setLastModified
(PECL pecl_http >= 0.12.0)
HttpResponse::setLastModified — Set last modified
Beschreibung
static
bool HttpResponse::setLastModified
( int
$timestamp
)Set a custom Last-Modified date.
Parameter-Liste
-
timestamp -
Unix timestamp representing the last modification time of the sent entity
Rückgabewerte
Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.
Siehe auch
- HttpResponse::getLastModified() - Get last modified
- HttpResponse::getETag() - Get ETag
- HttpResponse::setETag() - Set ETag