Forum und email

HttpResponse::setLastModified

(PECL pecl_http:0.12.0-1.5.5)

HttpResponse::setLastModified — Set last modified

Leírás

static bool HttpResponse::setLastModified ( int $timestamp )

Set a custom Last-Modified date.

Paraméterek

timestamp

Unix timestamp representing the last modification time of the sent entity

Visszatérési értékek

Siker esetén TRUE értékkel tér vissza, ellenkező esetben FALSE értéket ad.