HttpResponse::setLastModified
(PECL pecl_http:0.12.0-1.5.5)
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
Return值
如果成功則回傳 TRUE,失敗則回傳 FALSE。