philip Sat Jul 24 02:11:36 2004 EDT
Modified files: /phpdoc/en language-snippets.ent /phpdoc/en/reference/sqlite/functions sqlite-current.xml sqlite-next.xml sqlite-num-rows.xml sqlite-rewind.xml sqlite-seek.xml Log: Implement entity sqlite.no-unbuffered. http://cvs.php.net/diff.php/phpdoc/en/language-snippets.ent?r1=1.108&r2=1.109&ty=u Index: phpdoc/en/language-snippets.ent diff -u phpdoc/en/language-snippets.ent:1.108 phpdoc/en/language-snippets.ent:1.109 --- phpdoc/en/language-snippets.ent:1.108 Wed Jul 21 06:13:51 2004 +++ phpdoc/en/language-snippets.ent Sat Jul 24 02:11:35 2004 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.108 $ --> +<!-- $Revision: 1.109 $ --> <!-- Keep 'em sorted --> @@ -310,6 +310,10 @@ <!ENTITY simplexml.iteration '<note><simpara>SimpleXML has made a rule of adding iterative properties to most methods. They cannot be viewed using <function>var_dump</function> or anything else which can examine objects.</simpara></note>'> + +<!-- SQLite Notes --> +<!ENTITY sqlite.no-unbuffered '<note><para>This function cannot be used with +unbuffered result handles.</para></note>'> <!-- Database Notes --> <!ENTITY database.field-case '<note><simpara>Field names returned by this function http://cvs.php.net/diff.php/phpdoc/en/reference/sqlite/functions/sqlite-current.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/sqlite/functions/sqlite-current.xml diff -u phpdoc/en/reference/sqlite/functions/sqlite-current.xml:1.4 phpdoc/en/reference/sqlite/functions/sqlite-current.xml:1.5 --- phpdoc/en/reference/sqlite/functions/sqlite-current.xml:1.4 Sun Jul 6 00:43:08 2003 +++ phpdoc/en/reference/sqlite/functions/sqlite-current.xml Sat Jul 24 02:11:35 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <refentry id="function.sqlite-current"> <refnamediv> <refname>sqlite_current</refname> @@ -23,11 +23,9 @@ If the current position is beyond the final row, this function returns &false; </para> - <note> - <para> - This function will not work on unbuffered result handles. - </para> - </note> + + &sqlite.no-unbuffered; + <para> See also <function>sqlite_seek</function>, <function>sqlite_next</function>, and http://cvs.php.net/diff.php/phpdoc/en/reference/sqlite/functions/sqlite-next.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/sqlite/functions/sqlite-next.xml diff -u phpdoc/en/reference/sqlite/functions/sqlite-next.xml:1.4 phpdoc/en/reference/sqlite/functions/sqlite-next.xml:1.5 --- phpdoc/en/reference/sqlite/functions/sqlite-next.xml:1.4 Sun Jul 6 00:43:08 2003 +++ phpdoc/en/reference/sqlite/functions/sqlite-next.xml Sat Jul 24 02:11:35 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <refentry id="function.sqlite-next"> <refnamediv> <refname>sqlite_next</refname> @@ -16,11 +16,9 @@ <parameter>result</parameter> to the next row. Returns &false; if there are no more rows, &true; otherwise. </para> - <note> - <para> - This function cannot be used with unbuffered result handles. - </para> - </note> + + &sqlite.no-unbuffered; + <para> See also <function>sqlite_seek</function>, <function>sqlite_current</function> and http://cvs.php.net/diff.php/phpdoc/en/reference/sqlite/functions/sqlite-num-rows.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc/en/reference/sqlite/functions/sqlite-num-rows.xml diff -u phpdoc/en/reference/sqlite/functions/sqlite-num-rows.xml:1.3 phpdoc/en/reference/sqlite/functions/sqlite-num-rows.xml:1.4 --- phpdoc/en/reference/sqlite/functions/sqlite-num-rows.xml:1.3 Sun Jul 6 00:43:08 2003 +++ phpdoc/en/reference/sqlite/functions/sqlite-num-rows.xml Sat Jul 24 02:11:35 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id="function.sqlite-num-rows"> <refnamediv> <refname>sqlite_num_rows</refname> @@ -15,11 +15,9 @@ Returns the number of rows in the buffered <parameter>result</parameter> set. </para> - <note> - <para> - This function cannot be used with unbuffered result sets. - </para> - </note> + + &sqlite.no-unbuffered; + <para> See also <function>sqlite_changes</function> and <function>sqlite_query</function>. http://cvs.php.net/diff.php/phpdoc/en/reference/sqlite/functions/sqlite-rewind.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/sqlite/functions/sqlite-rewind.xml diff -u phpdoc/en/reference/sqlite/functions/sqlite-rewind.xml:1.4 phpdoc/en/reference/sqlite/functions/sqlite-rewind.xml:1.5 --- phpdoc/en/reference/sqlite/functions/sqlite-rewind.xml:1.4 Sun Jul 6 00:43:08 2003 +++ phpdoc/en/reference/sqlite/functions/sqlite-rewind.xml Sat Jul 24 02:11:36 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <refentry id="function.sqlite-rewind"> <refnamediv> <refname>sqlite_rewind</refname> @@ -16,11 +16,9 @@ result set. Returns &false; if there are no rows in the result set, &true; otherwise. </para> - <note> - <para> - This function cannot be used with unbuffered result sets. - </para> - </note> + + &sqlite.no-unbuffered; + <para> See also <function>sqlite_next</function>, <function>sqlite_current</function>, and http://cvs.php.net/diff.php/phpdoc/en/reference/sqlite/functions/sqlite-seek.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/sqlite/functions/sqlite-seek.xml diff -u phpdoc/en/reference/sqlite/functions/sqlite-seek.xml:1.6 phpdoc/en/reference/sqlite/functions/sqlite-seek.xml:1.7 --- phpdoc/en/reference/sqlite/functions/sqlite-seek.xml:1.6 Tue Jul 8 15:06:45 2003 +++ phpdoc/en/reference/sqlite/functions/sqlite-seek.xml Sat Jul 24 02:11:36 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <refentry id="function.sqlite-seek"> <refnamediv> <refname>sqlite_seek</refname> @@ -17,11 +17,9 @@ <parameter>rownum</parameter>. The row number is zero-based (0 is the first row). Returns &false; if the row does not exist, &true; otherwise. </para> - <note> - <para> - This function cannot be used with unbuffered result handles. - </para> - </note> + + &sqlite.no-unbuffered; + <para> See also <function>sqlite_next</function>, <function>sqlite_current</function> and