Sophie

Sophie

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

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>Indicates if a COM object has an IEnumVariant interface for iteration [deprecated]</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.com-invoke.html">com_invoke</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.com-load-typelib.html">com_load_typelib</a></div>
 <div class="up"><a href="ref.com.html">COM Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.com-isenum" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">com_isenum</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.1.0)</p><p class="refpurpose"><span class="refname">com_isenum</span> &mdash; <span class="dc-title">Indicates if a COM object has an IEnumVariant interface for iteration [deprecated]</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.com-isenum-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">bool</span> <span class="methodname"><strong>com_isenum</strong></span>
    ( <span class="methodparam"><span class="type"><a href="class.variant.html" class="type variant">variant</a></span> <code class="parameter">$com_module</code></span>
   )</div>

  <p class="para rdfs-comment">
   Checks to see if a COM object can be enumerated using the
   <em>Next()</em>  method hack.
   See <a href="class.com.html" class="xref">COM</a> class for more details on these
   methods.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.com-isenum-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   <dl>

    <dt>

     <span class="term"><em><code class="parameter">com_module</code></em></span>
     <dd>

      <p class="para">
       The COM object.
      </p>
     </dd>

    </dt>

   </dl>

  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.com-isenum-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns <strong><code>TRUE</code></strong> if the object can be enumerated, <strong><code>FALSE</code></strong> otherwise.
  </p>
 </div>

 <div class="refsect1 notes" id="refsect1-function.com-isenum-notes">
  <h3 class="title">Notes</h3>
  <blockquote class="note"><p><strong class="note">Note</strong>: 
   <p class="para">
    This function does not exist in PHP 5; use the more natural
    <a href="control-structures.foreach.html" class="link">foreach</a> statement to iterate over the contents of COM objects.
    See <a href="com.examples.foreach.html" class="xref">For Each</a> for more details.
   </p>
  </p></blockquote>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.com-invoke.html">com_invoke</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.com-load-typelib.html">com_load_typelib</a></div>
 <div class="up"><a href="ref.com.html">COM Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>