http
PHP Manual

HttpResponse::setETag

(PECL pecl_http:0.10.0-1.5.5)

HttpResponse::setETag — Set ETag

Description

static bool HttpResponse::setETag ( string $etag )

Set a custom ETag. Use this only if you know what you're doing.

Parameters

etag

unquoted string as parameter containing the ETag

Return Values

מחזירה TRUE בעת הצלחה או FALSE בעת כישלון.

ראה גם


http
PHP Manual