<!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>The SQLite3Result class</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="sqlite3stmt.reset.html">SQLite3Stmt::reset</a></div> <div class="next" style="text-align: right; float: right;"><a href="sqlite3result.columnname.html">SQLite3Result::columnName</a></div> <div class="up"><a href="book.sqlite3.html">SQLite3</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="class.sqlite3result" class="reference"> <h1 class="title">The SQLite3Result class</h1> <div class="partintro"><p class="verinfo">(PHP 5 >= 5.3.0)</p> <div class="section" id="sqlite3result.intro"> <h2 class="title">Introduction</h2> <p class="para"> A class that handles result sets for the SQLite 3 extension. </p> </div> <div class="section" id="sqlite3result.synopsis"> <h2 class="title">Class synopsis</h2> <div class="classsynopsis"> <div class="ooclass"></div> <div class="classsynopsisinfo"> <span class="ooclass"> <strong class="classname">SQLite3Result</strong> </span> {</div> <div class="classsynopsisinfo classsynopsisinfo_comment">/* Methods */</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">string</span> <span class="methodname"><a href="sqlite3result.columnname.html" class="methodname">columnName</a></span> ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$column_number</code></span> )</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">int</span> <span class="methodname"><a href="sqlite3result.columntype.html" class="methodname">columnType</a></span> ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$column_number</code></span> )</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">array</span> <span class="methodname"><a href="sqlite3result.fetcharray.html" class="methodname">fetchArray</a></span> ([ <span class="methodparam"><span class="type">int</span> <code class="parameter">$mode</code><span class="initializer"> = SQLITE3_BOTH</span></span> ] )</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">bool</span> <span class="methodname"><a href="sqlite3result.finalize.html" class="methodname">finalize</a></span> ( <span class="methodparam">void</span> )</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">int</span> <span class="methodname"><a href="sqlite3result.numcolumns.html" class="methodname">numColumns</a></span> ( <span class="methodparam">void</span> )</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">bool</span> <span class="methodname"><a href="sqlite3result.reset.html" class="methodname">reset</a></span> ( <span class="methodparam">void</span> )</div> }</div> </div> </div> <h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="sqlite3result.columnname.html">SQLite3Result::columnName</a> — Returns the name of the nth column</li><li><a href="sqlite3result.columntype.html">SQLite3Result::columnType</a> — Returns the type of the nth column</li><li><a href="sqlite3result.fetcharray.html">SQLite3Result::fetchArray</a> — Fetches a result row as an associative or numerically indexed array or both</li><li><a href="sqlite3result.finalize.html">SQLite3Result::finalize</a> — Closes the result set</li><li><a href="sqlite3result.numcolumns.html">SQLite3Result::numColumns</a> — Returns the number of columns in the result set</li><li><a href="sqlite3result.reset.html">SQLite3Result::reset</a> — Resets the result set back to the first row</li></ul> </div> <hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="sqlite3stmt.reset.html">SQLite3Stmt::reset</a></div> <div class="next" style="text-align: right; float: right;"><a href="sqlite3result.columnname.html">SQLite3Result::columnName</a></div> <div class="up"><a href="book.sqlite3.html">SQLite3</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>