<?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 -->