Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 10350

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!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>Returns the metadata of the entry</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="pharfileinfo.getpharflags.html">PharFileInfo::getPharFlags</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="pharfileinfo.iscrcchecked.html">PharFileInfo::isCRCChecked</a></div>
 <div class="up"><a href="class.pharfileinfo.html">PharFileInfo</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="pharfileinfo.hasmetadata" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">PharFileInfo::hasMetadata</h1>
  <p class="verinfo">(PHP &gt;= 5.3.0, PECL phar &gt;= 1.2.0)</p><p class="refpurpose"><span class="refname">PharFileInfo::hasMetadata</span> &mdash; <span class="dc-title">Returns the metadata of the entry</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-pharfileinfo.hasmetadata-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span> <span class="methodname"><strong>PharFileInfo::hasMetadata</strong></span>
    ( <span class="methodparam">void</span>
   )</div>

  <p class="para rdfs-comment">
   Returns the metadata of a file within a phar archive.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-pharfileinfo.hasmetadata-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   No parameters.
  </p>

 </div>

 <div class="refsect1 returnvalues" id="refsect1-pharfileinfo.hasmetadata-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns <strong><code>FALSE</code></strong> if no metadata is set or is <strong><code>NULL</code></strong>, <strong><code>TRUE</code></strong> if metadata is not <strong><code>NULL</code></strong>
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-pharfileinfo.hasmetadata-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"> <span class="function"><a href="pharfileinfo.setmetadata.html" class="function" rel="rdfs-seeAlso">PharFileInfo::setMetadata()</a> - Sets file-specific meta-data saved with a file</span></li>
    <li class="member"> <span class="function"><a href="pharfileinfo.getmetadata.html" class="function" rel="rdfs-seeAlso">PharFileInfo::getMetadata()</a> - Returns file-specific meta-data saved with a file</span></li>
    <li class="member"> <span class="function"><a href="pharfileinfo.delmetadata.html" class="function" rel="rdfs-seeAlso">PharFileInfo::delMetadata()</a> - Deletes the metadata of the entry</span></li>
    <li class="member"> <span class="function"><a href="phardata.setmetadata.html" class="function" rel="rdfs-seeAlso">Phar::setMetadata()</a> - Sets phar archive meta-data</span></li>
    <li class="member"> <span class="function"><a href="phar.hasmetadata.html" class="function" rel="rdfs-seeAlso">Phar::hasMetadata()</a> - Returns whether phar has global meta-data</span></li>
    <li class="member"> <span class="function"><a href="phar.getmetadata.html" class="function" rel="rdfs-seeAlso">Phar::getMetadata()</a> - Returns phar archive meta-data</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="pharfileinfo.getpharflags.html">PharFileInfo::getPharFlags</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="pharfileinfo.iscrcchecked.html">PharFileInfo::isCRCChecked</a></div>
 <div class="up"><a href="class.pharfileinfo.html">PharFileInfo</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>