<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Get ETag</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="httpresponse.getdata.html">HttpResponse::getData</a></div> <div class="next" style="text-align: right; float: right;"><a href="httpresponse.getfile.html">HttpResponse::getFile</a></div> <div class="up"><a href="class.httpresponse.html">HttpResponse</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="httpresponse.getetag" class="refentry"> <div class="refnamediv"> <h1 class="refname">HttpResponse::getETag</h1> <p class="verinfo">(PECL pecl_http >= 0.10.0)</p><p class="refpurpose"><span class="refname">HttpResponse::getETag</span> — <span class="dc-title">Get ETag</span></p> </div> <div class="refsect1 description" id="refsect1-httpresponse.getetag-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="modifier">static</span> <span class="type">string</span> <span class="methodname"><strong>HttpResponse::getETag</strong></span> ( <span class="methodparam">void</span> )</div> <p class="para rdfs-comment"> Get calculated or previously set custom <em>ETag</em>. </p> </div> <div class="refsect1 returnvalues" id="refsect1-httpresponse.getetag-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns the calculated or previously set <em>ETag</em> as unquoted string. </p> </div> <div class="refsect1 seealso" id="refsect1-httpresponse.getetag-seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"> <span class="methodname"><a href="httpresponse.getlastmodified.html" class="methodname" rel="rdfs-seeAlso">HttpResponse::getLastModified()</a> - Get last modified</span></li> <li class="member"> <span class="methodname"><a href="httpresponse.setlastmodified.html" class="methodname" rel="rdfs-seeAlso">HttpResponse::setLastModified()</a> - Set last modified</span></li> <li class="member"> <span class="methodname"><a href="httpresponse.setetag.html" class="methodname" rel="rdfs-seeAlso">HttpResponse::setETag()</a> - Set ETag</span></li> </ul> </p> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="httpresponse.getdata.html">HttpResponse::getData</a></div> <div class="next" style="text-align: right; float: right;"><a href="httpresponse.getfile.html">HttpResponse::getFile</a></div> <div class="up"><a href="class.httpresponse.html">HttpResponse</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>