cvs: phpdoc /en/reference/ingres-ii ini.xml /en/reference/ingres-ii/functions ingres-cursor.xml ingres-errno.xml ingres-error.xml
ingres-errsqlstate.xml
| From: | Grant Croker | Date: | Fri, 07 Oct 2005 16:32:06 +0000 |
| Subject: | cvs: phpdoc /en/reference/ingres-ii ini.xml /en/reference/ingres-ii/functions ingres-cursor.xml ingres-errno.xml ingres-error.xml ingres-errsqlstate.xml |
||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969370510@lists.php.net to get a copy of this message | ||
grantc Fri Oct 7 12:32:06 2005 EDT
Added files:
/phpdoc/en/reference/ingres-ii/functions ingres-cursor.xml
ingres-errno.xml
ingres-error.xml
ingres-errsqlstate.xml
Modified files:
/phpdoc/en/reference/ingres-ii ini.xml
Log:
New functions + ini entries
http://cvs.php.net/diff.php/phpdoc/en/reference/ingres-ii/ini.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/ingres-ii/ini.xml diff -u phpdoc/en/reference/ingres-ii/ini.xml:1.5 phpdoc/en/reference/ingres-ii/ini.xml:1.6 --- phpdoc/en/reference/ingres-ii/ini.xml:1.5 Tue Feb 22 12:36:07 2005 +++ phpdoc/en/reference/ingres-ii/ini.xml Fri Oct 7 12:32:06 2005 @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <section id="ingres.configuration"> &reftitle.runtime; &extension.runtime; <para> <table> - <title>Ingres II configuration options</title> + <title>Ingres configuration options</title> <tgroup cols="4"> <thead> <row> @@ -52,6 +52,24 @@ <entry>PHP_INI_ALL</entry> <entry>Available since PHP 4.0.2.</entry> </row> + <row> + <entry>ingres.report_db_warnings</entry> + <entry>"1"</entry> + <entry>PHP_INI_ALL</entry> + <entry>Available since version 1.1.0 of the PECL extension.</entry> + </row> + <row> + <entry>ingres.cursor_mode</entry> + <entry>"0"</entry> + <entry>PHP_INI_ALL</entry> + <entry>Available since version 1.1.0 of the PECL extension.</entry> + </row> + <row> + <entry>ingres.blob_segment_length</entry> + <entry>"4096"</entry> + <entry>PHP_INI_ALL</entry> + <entry>Available since version 1.2.0 of the PECL extension.</entry> + </row> </tbody> </tgroup> </table> http://cvs.php.net/co.php/phpdoc/en/reference/ingres-ii/functions/ingres-cursor.xml?r=1.1&p=1 Index: phpdoc/en/reference/ingres-ii/functions/ingres-cursor.xml +++ phpdoc/en/reference/ingres-ii/functions/ingres-cursor.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- splitted from ./en/functions/ingres_ii.xml, last change in rev 1.1 --> <refentry id="function.ingres-error"> <refnamediv> <refname>ingres_cursor</refname> <refpurpose>Gets a cursor name for a given link resource</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>string</type><methodname>ingres_cursor</methodname> <methodparam choice="opt"><type>resource</type><parameter>link</parameter></methodparam> </methodsynopsis> <para> Returns an string containing the active cursor name. If no cursor is active then NULL is returned. </para> <para> If a <parameter>link</parameter> resource is passed to <function>ingres_cursor</function> it returns the cursor name recorded for the link. If no link is passed then <function>ingres_cursor</function> returns the cursor name asssociated with the default link. </para> <para> <example> <title><function>ingres_cursor</function> example</title> <programlisting role="php"> <![CDATA[ <?php $link = ingres_connect($database, $user, $password); ingres_prepare("select * from table", $link); $cursor_name = ingres_cursor($link); echo $cursor_name; ?> ]]> </programlisting> </example> </para> <para> See also <function>ingres_prepare</function> and <function>ingres_execute</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 indent-tabs-mode:nil 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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ingres-ii/functions/ingres-errno.xml?r=1.1&p=1 Index: phpdoc/en/reference/ingres-ii/functions/ingres-errno.xml +++ phpdoc/en/reference/ingres-ii/functions/ingres-errno.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- splitted from ./en/functions/ingres_ii.xml, last change in rev 1.1 --> <refentry id="function.ingres-error"> <refnamediv> <refname>ingres_errno</refname> <refpurpose>Gets the last ingres error number generated</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>int</type><methodname>ingres_errno</methodname> <methodparam choice="opt"><type>resource</type><parameter>link</parameter></methodparam> </methodsynopsis> <para> Returns an integer containing the last error number. If no error was reported 0 is returned. </para> <para> If a <parameter>link</parameter> resource is passed to <function>ingres_errno</function> it returns the last error recorded for the link. If no link is passed then <function>ingres_errno</function> returns the last error reported using the default link. </para> <para> The function, <function>ingres_errno</function>, should always be called after executing a database query. Calling another function before <function>ingres_errno</function> is called, will reset or change any error code from the last Ingres function call. </para> <para> <example> <title><function>ingres_error</function> example</title> <programlisting role="php"> <![CDATA[ <?php $link = ingres_connect($database, $user, $password); ingres_query("select * from table", $link); $error_code = ingres_errno($link); if ( $error_code != 0 ) { echo "An error occured - " . $error_code; } ?> ]]> </programlisting> </example> </para> <para> See also <function>ingres_error</function> and <function>ingres_errsqlstate</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 indent-tabs-mode:nil 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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ingres-ii/functions/ingres-error.xml?r=1.1&p=1 Index: phpdoc/en/reference/ingres-ii/functions/ingres-error.xml +++ phpdoc/en/reference/ingres-ii/functions/ingres-error.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- splitted from ./en/functions/ingres_ii.xml, last change in rev 1.1 --> <refentry id="function.ingres-error"> <refnamediv> <refname>ingres_error</refname> <refpurpose>Gets a meaningful error message for the last error generated</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>string</type><methodname>ingres_error</methodname> <methodparam choice="opt"><type>resource</type><parameter>link</parameter></methodparam> </methodsynopsis> <para> Returns a string containing the last error, or NULL if no error has occurred. </para> <para> If a <parameter>link</parameter> resource is passed to <function>ingres_error</function> it returns the last error recorded for the link. If no link is passed then <function>ingres_error</function> returns the last error reported using the default link. </para> <para> The function, <function>ingres_error</function>, should always be called after executing any database query. Calling another function before <function>ingres_error</function> is called will reset or change any error message from the last Ingres function call. </para> <para> <example> <title><function>ingres_error</function> example</title> <programlisting role="php"> <![CDATA[ <?php ingres_connect($database, $user, $password); ingres_query("select * from table"); $error_text = ingres_error(); if ( is_null($error_text) ) { echo "An error occured - " . $error_text; } ?> ]]> </programlisting> </example> </para> <para> See also <function>ingres_errno</function> and <function>ingres_errsqlstate</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 indent-tabs-mode:nil 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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ingres-ii/functions/ingres-errsqlstate.xml?r=1.1&p=1 Index: phpdoc/en/reference/ingres-ii/functions/ingres-errsqlstate.xml +++ phpdoc/en/reference/ingres-ii/functions/ingres-errsqlstate.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- splitted from ./en/functions/ingres_ii.xml, last change in rev 1.1 --> <refentry id="function.ingres-error"> <refnamediv> <refname>ingres_errsqlstate</refname> <refpurpose>Gets the last SQLSTATE error code generated</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>string</type><methodname>ingres_errsqlstate</methodname> <methodparam choice="opt"><type>resource</type><parameter>link</parameter></methodparam> </methodsynopsis> <para> Returns a string containing the last SQLSTATE, or NULL if no error has occurred. </para> <para> If a <parameter>link</parameter> resource is passed to <function>ingres_errsqlstate</function> it returns the last error recorded for the link. If no link is passed then <function>ingres_errsqlstate</function> returns the last error reported using the default link. </para> <para> The function, <function>ingres_errsqlstate</function>, should always be called after executing any database query. Calling another function before <function>ingres_errsqlstate</function> is called will reset or change any error message from the last Ingres function call. </para> <para> <example> <title><function>ingres_errsqlstate</function> example</title> <programlisting role="php"> <![CDATA[ <?php ingres_connect($database, $user, $password); ingres_query("select * from table"); $error_sqlstate = ingres_errsqlstate(); if ( is_null($error_sqlstate) ) { echo "An error occured - " . $error_sqlstate; } ?> ]]> </programlisting> </example> </para> <para> See also <function>ingres_errno</function> and <function>ingres_errsqlstate</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 indent-tabs-mode:nil 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 -->
http://cvs.php.net/diff.php/phpdoc/en/reference/ingres-ii/ini.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/ingres-ii/ini.xml diff -u phpdoc/en/reference/ingres-ii/ini.xml:1.5 phpdoc/en/reference/ingres-ii/ini.xml:1.6 --- phpdoc/en/reference/ingres-ii/ini.xml:1.5 Tue Feb 22 12:36:07 2005 +++ phpdoc/en/reference/ingres-ii/ini.xml Fri Oct 7 12:32:06 2005 @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <section id="ingres.configuration"> &reftitle.runtime; &extension.runtime; <para> <table> - <title>Ingres II configuration options</title> + <title>Ingres configuration options</title> <tgroup cols="4"> <thead> <row> @@ -52,6 +52,24 @@ <entry>PHP_INI_ALL</entry> <entry>Available since PHP 4.0.2.</entry> </row> + <row> + <entry>ingres.report_db_warnings</entry> + <entry>"1"</entry> + <entry>PHP_INI_ALL</entry> + <entry>Available since version 1.1.0 of the PECL extension.</entry> + </row> + <row> + <entry>ingres.cursor_mode</entry> + <entry>"0"</entry> + <entry>PHP_INI_ALL</entry> + <entry>Available since version 1.1.0 of the PECL extension.</entry> + </row> + <row> + <entry>ingres.blob_segment_length</entry> + <entry>"4096"</entry> + <entry>PHP_INI_ALL</entry> + <entry>Available since version 1.2.0 of the PECL extension.</entry> + </row> </tbody> </tgroup> </table> http://cvs.php.net/co.php/phpdoc/en/reference/ingres-ii/functions/ingres-cursor.xml?r=1.1&p=1 Index: phpdoc/en/reference/ingres-ii/functions/ingres-cursor.xml +++ phpdoc/en/reference/ingres-ii/functions/ingres-cursor.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- splitted from ./en/functions/ingres_ii.xml, last change in rev 1.1 --> <refentry id="function.ingres-error"> <refnamediv> <refname>ingres_cursor</refname> <refpurpose>Gets a cursor name for a given link resource</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>string</type><methodname>ingres_cursor</methodname> <methodparam choice="opt"><type>resource</type><parameter>link</parameter></methodparam> </methodsynopsis> <para> Returns an string containing the active cursor name. If no cursor is active then NULL is returned. </para> <para> If a <parameter>link</parameter> resource is passed to <function>ingres_cursor</function> it returns the cursor name recorded for the link. If no link is passed then <function>ingres_cursor</function> returns the cursor name asssociated with the default link. </para> <para> <example> <title><function>ingres_cursor</function> example</title> <programlisting role="php"> <![CDATA[ <?php $link = ingres_connect($database, $user, $password); ingres_prepare("select * from table", $link); $cursor_name = ingres_cursor($link); echo $cursor_name; ?> ]]> </programlisting> </example> </para> <para> See also <function>ingres_prepare</function> and <function>ingres_execute</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 indent-tabs-mode:nil 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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ingres-ii/functions/ingres-errno.xml?r=1.1&p=1 Index: phpdoc/en/reference/ingres-ii/functions/ingres-errno.xml +++ phpdoc/en/reference/ingres-ii/functions/ingres-errno.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- splitted from ./en/functions/ingres_ii.xml, last change in rev 1.1 --> <refentry id="function.ingres-error"> <refnamediv> <refname>ingres_errno</refname> <refpurpose>Gets the last ingres error number generated</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>int</type><methodname>ingres_errno</methodname> <methodparam choice="opt"><type>resource</type><parameter>link</parameter></methodparam> </methodsynopsis> <para> Returns an integer containing the last error number. If no error was reported 0 is returned. </para> <para> If a <parameter>link</parameter> resource is passed to <function>ingres_errno</function> it returns the last error recorded for the link. If no link is passed then <function>ingres_errno</function> returns the last error reported using the default link. </para> <para> The function, <function>ingres_errno</function>, should always be called after executing a database query. Calling another function before <function>ingres_errno</function> is called, will reset or change any error code from the last Ingres function call. </para> <para> <example> <title><function>ingres_error</function> example</title> <programlisting role="php"> <![CDATA[ <?php $link = ingres_connect($database, $user, $password); ingres_query("select * from table", $link); $error_code = ingres_errno($link); if ( $error_code != 0 ) { echo "An error occured - " . $error_code; } ?> ]]> </programlisting> </example> </para> <para> See also <function>ingres_error</function> and <function>ingres_errsqlstate</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 indent-tabs-mode:nil 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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ingres-ii/functions/ingres-error.xml?r=1.1&p=1 Index: phpdoc/en/reference/ingres-ii/functions/ingres-error.xml +++ phpdoc/en/reference/ingres-ii/functions/ingres-error.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- splitted from ./en/functions/ingres_ii.xml, last change in rev 1.1 --> <refentry id="function.ingres-error"> <refnamediv> <refname>ingres_error</refname> <refpurpose>Gets a meaningful error message for the last error generated</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>string</type><methodname>ingres_error</methodname> <methodparam choice="opt"><type>resource</type><parameter>link</parameter></methodparam> </methodsynopsis> <para> Returns a string containing the last error, or NULL if no error has occurred. </para> <para> If a <parameter>link</parameter> resource is passed to <function>ingres_error</function> it returns the last error recorded for the link. If no link is passed then <function>ingres_error</function> returns the last error reported using the default link. </para> <para> The function, <function>ingres_error</function>, should always be called after executing any database query. Calling another function before <function>ingres_error</function> is called will reset or change any error message from the last Ingres function call. </para> <para> <example> <title><function>ingres_error</function> example</title> <programlisting role="php"> <![CDATA[ <?php ingres_connect($database, $user, $password); ingres_query("select * from table"); $error_text = ingres_error(); if ( is_null($error_text) ) { echo "An error occured - " . $error_text; } ?> ]]> </programlisting> </example> </para> <para> See also <function>ingres_errno</function> and <function>ingres_errsqlstate</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 indent-tabs-mode:nil 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 --> http://cvs.php.net/co.php/phpdoc/en/reference/ingres-ii/functions/ingres-errsqlstate.xml?r=1.1&p=1 Index: phpdoc/en/reference/ingres-ii/functions/ingres-errsqlstate.xml +++ phpdoc/en/reference/ingres-ii/functions/ingres-errsqlstate.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- splitted from ./en/functions/ingres_ii.xml, last change in rev 1.1 --> <refentry id="function.ingres-error"> <refnamediv> <refname>ingres_errsqlstate</refname> <refpurpose>Gets the last SQLSTATE error code generated</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>string</type><methodname>ingres_errsqlstate</methodname> <methodparam choice="opt"><type>resource</type><parameter>link</parameter></methodparam> </methodsynopsis> <para> Returns a string containing the last SQLSTATE, or NULL if no error has occurred. </para> <para> If a <parameter>link</parameter> resource is passed to <function>ingres_errsqlstate</function> it returns the last error recorded for the link. If no link is passed then <function>ingres_errsqlstate</function> returns the last error reported using the default link. </para> <para> The function, <function>ingres_errsqlstate</function>, should always be called after executing any database query. Calling another function before <function>ingres_errsqlstate</function> is called will reset or change any error message from the last Ingres function call. </para> <para> <example> <title><function>ingres_errsqlstate</function> example</title> <programlisting role="php"> <![CDATA[ <?php ingres_connect($database, $user, $password); ingres_query("select * from table"); $error_sqlstate = ingres_errsqlstate(); if ( is_null($error_sqlstate) ) { echo "An error occured - " . $error_sqlstate; } ?> ]]> </programlisting> </example> </para> <para> See also <function>ingres_errno</function> and <function>ingres_errsqlstate</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 indent-tabs-mode:nil 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 -->