<!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>Skips a number of results</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="mongocursor.setreadpreference.html">MongoCursor::setReadPreference</a></div> <div class="next" style="text-align: right; float: right;"><a href="mongocursor.slaveokay.html">MongoCursor::slaveOkay</a></div> <div class="up"><a href="class.mongocursor.html">MongoCursor</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="mongocursor.skip" class="refentry"> <div class="refnamediv"> <h1 class="refname">MongoCursor::skip</h1> <p class="verinfo">(PECL mongo >=0.9.0)</p><p class="refpurpose"><span class="refname">MongoCursor::skip</span> — <span class="dc-title">Skips a number of results</span></p> </div> <div class="refsect1 description" id="refsect1-mongocursor.skip-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type"><a href="class.mongocursor.html" class="type MongoCursor">MongoCursor</a></span> <span class="methodname"><strong>MongoCursor::skip</strong></span> ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$num</code></span> )</div> </div> <div class="refsect1 parameters" id="refsect1-mongocursor.skip-parameters"> <h3 class="title">Parameters</h3> <p class="para"> <dl> <dt> <span class="term"> <em><code class="parameter">num</code></em> </span> <dd> <p class="para"> The number of results to skip. </p> </dd> </dt> </dl> </p> </div> <div class="refsect1 returnvalues" id="refsect1-mongocursor.skip-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns this cursor. </p> </div> <div class="refsect1 errors" id="refsect1-mongocursor.skip-errors"> <h3 class="title">Errors/Exceptions</h3> <p class="para"> Throws <a href="class.mongocursorexception.html" class="classname">MongoCursorException</a> if this cursor has started iterating. </p> </div> <div class="refsect1 seealso" id="refsect1-mongocursor.skip-seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"> <span class="methodname"><a href="mongocursor.limit.html" class="methodname" rel="rdfs-seeAlso">MongoCursor::limit()</a> - Limits the number of results returned</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="mongocursor.setreadpreference.html">MongoCursor::setReadPreference</a></div> <div class="next" style="text-align: right; float: right;"><a href="mongocursor.slaveokay.html">MongoCursor::slaveOkay</a></div> <div class="up"><a href="class.mongocursor.html">MongoCursor</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>