<!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 whether or not there is a frame ready to read</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="stomp.getsessionid.html">Stomp::getSessionId</a></div> <div class="next" style="text-align: right; float: right;"><a href="stomp.readframe.html">Stomp::readFrame</a></div> <div class="up"><a href="class.stomp.html">Stomp</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="stomp.hasframe" class="refentry"> <div class="refnamediv"> <h1 class="refname">Stomp::hasFrame</h1> <h1 class="refname">stomp_has_frame</h1> <p class="verinfo">(PECL stomp >= 0.1.0)</p><p class="refpurpose"><span class="refname">Stomp::hasFrame</span> -- <span class="refname">stomp_has_frame</span> — <span class="dc-title">Indicates whether or not there is a frame ready to read</span></p> </div> <div class="refsect1 description" id="refsect1-stomp.hasframe-description"> <h3 class="title">Description</h3> <p class="para">Object oriented style (method):</p> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">bool</span> <span class="methodname"><strong>Stomp::hasFrame</strong></span> ( <span class="methodparam">void</span> )</div> <p class="para rdfs-comment">Procedural style:</p> <div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><strong>stomp_has_frame</strong></span> ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$link</code></span> )</div> <p class="para rdfs-comment"> Indicates whether or not there is a frame ready to read. </p> </div> <div class="refsect1 parameters" id="refsect1-stomp.hasframe-parameters"> <h3 class="title">Parameters</h3> <p class="para"> <dl> <dt> <span class="term"><em><code class="parameter">link</code></em></span><dd> <p class="para">Procedural style only: The stomp link identifier returned by <span class="function"><a href="stomp.construct.html" class="function">stomp_connect()</a></span>.</p></dd> </dt> </dl> </p> </div> <div class="refsect1 returnvalues" id="refsect1-stomp.hasframe-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns <strong><code>TRUE</code></strong> if a frame is ready to read, or <strong><code>FALSE</code></strong> otherwise. </p> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="stomp.getsessionid.html">Stomp::getSessionId</a></div> <div class="next" style="text-align: right; float: right;"><a href="stomp.readframe.html">Stomp::readFrame</a></div> <div class="up"><a href="class.stomp.html">Stomp</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>