php-doc-en/reference/sqlite/functions/sqlite-key.xml
Kenneth Schwartz 80c2907dc3 Add SQLite classes, update examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@177066 c90b9560-bf6c-de11-be94-00142212c4b1
2005-01-12 08:56:59 +00:00

61 lines
1.7 KiB
XML
Executable file

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<refentry id="function.sqlite-key">
<refnamediv>
<refname>sqlite_key</refname>
<refname>SQLiteResult->key</refname>
<refpurpose>Returns the current row index</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>sqlite_key</methodname>
<methodparam><type>resource</type><parameter>result</parameter></methodparam>
</methodsynopsis>
<para>Object oriented style (method):</para>
<classsynopsis>
<ooclass><classname>SQLiteResult</classname></ooclass>
<methodsynopsis>
<type>int</type><methodname>key</methodname>
<void/>
</methodsynopsis>
</classsynopsis>
<para>
<function>sqlite_key</function> returns the current row index of the
buffered result set <parameter>result</parameter>.
</para>
&sqlite.no-unbuffered;
<note>
<simpara>
Prior to PHP 5.0.4, <function>sqlite_key</function> was only able to be
called as a method on a
<link linkend="sqlite.class.sqliteresult">SQLiteResult</link> object and
not procedurally.
</simpara>
</note>
<para>
See also <function>sqlite_next</function>,
<function>sqlite_current</function> and
<function>sqlite_rewind</function>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->