adjusted them to the new doc style.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241068 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
TAKAGI Masahiro 2007-08-11 06:06:31 +00:00
parent 9a094d208c
commit f900cf75a2
9 changed files with 152 additions and 95 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.5 $ -->
<!-- $Revision: 1.6 $ -->
<refentry xml:id="function.ingres-cursor" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ingres_cursor</refname>
@ -33,6 +33,8 @@
<term><parameter>link</parameter></term>
<listitem>
<para>
The connection link identifier. If not specified, the last opened link
is used.
</para>
</listitem>
</varlistentry>
@ -43,7 +45,8 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns an string containing the active cursor name. If no cursor is
active then NULL is returned.
</para>
</refsect1>
@ -69,12 +72,18 @@ echo $cursor_name;
</programlisting>
</example>
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
See also
<function>ingres_prepare</function> and
<function>ingres_execute</function>.
<simplelist>
<member><function>ingres_prepare</function></member>
<member><function>ingres_execute</function></member>
</simplelist>
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<!-- $Revision: 1.7 $ -->
<refentry xml:id="function.ingres-errno" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ingres_errno</refname>
@ -38,6 +38,8 @@
<term><parameter>link</parameter></term>
<listitem>
<para>
The connection link identifier. If not specified, the last opened link
is used.
</para>
</listitem>
</varlistentry>
@ -48,7 +50,8 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns an integer containing the last error number. If no error was
reported 0 is returned.
</para>
</refsect1>
@ -75,12 +78,18 @@ if ( $error_code != 0 ) {
</programlisting>
</example>
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
See also
<function>ingres_error</function> and
<function>ingres_errsqlstate</function>.
<simplelist>
<member><function>ingres_error</function></member>
<member><function>ingres_errsqlstate</function></member>
</simplelist>
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<refentry xml:id="function.ingres-error" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ingres_error</refname>
@ -38,6 +38,8 @@
<term><parameter>link</parameter></term>
<listitem>
<para>
The connection link identifier. If not specified, the last opened link
is used.
</para>
</listitem>
</varlistentry>
@ -48,7 +50,8 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns a string containing the last error, or NULL if no error has
occurred.
</para>
</refsect1>
@ -75,12 +78,18 @@ if ( is_null($error_text) ) {
</programlisting>
</example>
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
See also
<function>ingres_errno</function> and
<function>ingres_errsqlstate</function>.
<simplelist>
<member><function>ingres_errno</function></member>
<member><function>ingres_errsqlstate</function></member>
</simplelist>
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.5 $ -->
<!-- $Revision: 1.6 $ -->
<refentry xml:id="function.ingres-errsqlstate" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ingres_errsqlstate</refname>
@ -39,6 +39,8 @@
<term><parameter>link</parameter></term>
<listitem>
<para>
The connection link identifier. If not specified, the last opened link
is used.
</para>
</listitem>
</varlistentry>
@ -49,7 +51,8 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns a string containing the last SQLSTATE, or NULL if no error has
occurred.
</para>
</refsect1>
@ -76,12 +79,18 @@ if ( is_null($error_sqlstate) ) {
</programlisting>
</example>
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
See also
<function>ingres_errno</function> and
<function>ingres_errsqlstate</function>.
<simplelist>
<member><function>ingres_errno</function></member>
<member><function>ingres_error</function></member>
</simplelist>
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.9 $ -->
<!-- $Revision: 1.10 $ -->
<refentry xml:id="function.ingres-fetch-array" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ingres_fetch_array</refname>
@ -13,11 +13,6 @@
<methodparam choice="opt"><type>int</type><parameter>result_type</parameter></methodparam>
<methodparam choice="opt"><type>resource</type><parameter>link</parameter></methodparam>
</methodsynopsis>
<para>
<function>ingres_fetch_array</function> Returns an array that
corresponds to the fetched row, or &false; if there are no more
rows.
</para>
<para>
This function is an extended version of
<function>ingres_fetch_row</function>. In addition to storing
@ -45,11 +40,6 @@ $bar = $result["bar"];
</programlisting>
</informalexample>
</para>
<para>
<parameter>result_type</parameter> can be INGRES_NUM for
enumerated array, INGRES_ASSOC for associative array, or
INGRES_BOTH (default).
</para>
<para>
Speed-wise, the function is identical to
<function>ingres_fetch_object</function>, and almost as quick as
@ -66,6 +56,9 @@ $bar = $result["bar"];
<term><parameter>result_type</parameter></term>
<listitem>
<para>
<parameter>result_type</parameter> can be INGRES_NUM for
enumerated array, INGRES_ASSOC for associative array, or
INGRES_BOTH (default).
</para>
</listitem>
</varlistentry>
@ -73,6 +66,8 @@ $bar = $result["bar"];
<term><parameter>link</parameter></term>
<listitem>
<para>
The connection link identifier. If not specified, the last opened link
is used.
</para>
</listitem>
</varlistentry>
@ -83,11 +78,11 @@ $bar = $result["bar"];
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns an array that corresponds to the fetched row,
or &false; if there are no more rows.
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<para>
@ -110,15 +105,21 @@ while ($row = ingres_fetch_array()) {
</programlisting>
</example>
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
See also
<function>ingres_query</function>,
<function>ingres_num_fields</function>,
<function>ingres_field_name</function>,
<function>ingres_fetch_object</function>, and
<function>ingres_fetch_row</function>.
<simplelist>
<member><function>ingres_query</function></member>
<member><function>ingres_num_fields</function></member>
<member><function>ingres_field_name</function></member>
<member><function>ingres_fetch_object</function></member>
<member><function>ingres_fetch_row</function></member>
</simplelist>
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.8 $ -->
<!-- $Revision: 1.9 $ -->
<refentry xml:id="function.ingres-fetch-object" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ingres_fetch_object</refname>
@ -13,11 +13,6 @@
<methodparam choice="opt"><type>int</type><parameter>result_type</parameter></methodparam>
<methodparam choice="opt"><type>resource</type><parameter>link</parameter></methodparam>
</methodsynopsis>
<para>
<function>ingres_fetch_object</function> Returns an object that
corresponds to the fetched row, or &false; if there are no more
rows.
</para>
<para>
This function is similar to
<function>ingres_fetch_array</function>, with one difference - an
@ -25,11 +20,6 @@
that you can only access the data by the field names, and not by
their offsets (numbers are illegal property names).
</para>
<para>
The optional argument <parameter>result_type</parameter> is a
constant and can take the following values: INGRES_ASSOC,
INGRES_NUM, and INGRES_BOTH.
</para>
<para>
Speed-wise, the function is identical to
<function>ingres_fetch_array</function>, and almost as quick as
@ -46,6 +36,9 @@
<term><parameter>result_type</parameter></term>
<listitem>
<para>
The optional argument <parameter>result_type</parameter> is a
constant and can take the following values: INGRES_ASSOC,
INGRES_NUM, and INGRES_BOTH.
</para>
</listitem>
</varlistentry>
@ -53,6 +46,8 @@
<term><parameter>link</parameter></term>
<listitem>
<para>
The connection link identifier. If not specified, the last opened link
is used.
</para>
</listitem>
</varlistentry>
@ -63,11 +58,11 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns an object that corresponds to the fetched row,
or &false; if there are no more rows.
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<para>
@ -87,15 +82,21 @@ while ($row = ingres_fetch_object()) {
</programlisting>
</example>
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
See also
<function>ingres_query</function>,
<function>ingres_num_fields</function>,
<function>ingres_field_name</function>,
<function>ingres_fetch_array</function>, and
<function>ingres_fetch_row</function>.
<simplelist>
<member><function>ingres_query</function></member>
<member><function>ingres_num_fields</function></member>
<member><function>ingres_field_name</function></member>
<member><function>ingres_fetch_array</function></member>
<member><function>ingres_fetch_row</function></member>
</simplelist>
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.7 $ -->
<!-- $Revision: 1.8 $ -->
<refentry xml:id="function.ingres-fetch-row" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ingres_fetch_row</refname>
@ -33,6 +33,8 @@
<term><parameter>link</parameter></term>
<listitem>
<para>
The connection link identifier. If not specified, the last opened link
is used.
</para>
</listitem>
</varlistentry>
@ -43,11 +45,11 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns an array that corresponds to the fetched row,
or &false; if there are no more rows.
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<para>
@ -68,14 +70,20 @@ while ($row = ingres_fetch_row()) {
</programlisting>
</example>
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
See also
<function>ingres_num_fields</function>,
<function>ingres_query</function>,
<function>ingres_fetch_array</function>, and
<function>ingres_fetch_object</function>.
<simplelist>
<member><function>ingres_num_fields</function></member>
<member><function>ingres_query</function></member>
<member><function>ingres_fetch_array</function></member>
<member><function>ingres_fetch_object</function></member>
</simplelist>
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<!-- $Revision: 1.7 $ -->
<refentry xml:id="function.ingres-field-length" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ingres_field_length</refname>
@ -19,18 +19,6 @@
the field. For detailed information, see the Ingres/OpenAPI User
Guide - Appendix C.
</para>
<para>
<parameter>index</parameter> is the number of the field and must
be between 1 and the value given by
<function>ingres_num_fields</function>.
</para>
<para>
See also
<function>ingres_query</function>,
<function>ingres_fetch_array</function>,
<function>ingres_fetch_object</function>, and
<function>ingres_fetch_row</function>.
</para>
</refsect1>
<refsect1 role="parameters">
@ -41,6 +29,9 @@
<term><parameter>index</parameter></term>
<listitem>
<para>
<parameter>index</parameter> is the number of the field and must
be between 1 and the value given by
<function>ingres_num_fields</function>.
</para>
</listitem>
</varlistentry>
@ -48,6 +39,8 @@
<term><parameter>link</parameter></term>
<listitem>
<para>
The connection link identifier. If not specified, the last opened link
is used.
</para>
</listitem>
</varlistentry>
@ -58,7 +51,19 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns the length of a field.
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>ingres_query</function></member>
<member><function>ingres_fetch_array</function></member>
<member><function>ingres_fetch_object</function></member>
<member><function>ingres_fetch_row</function></member>
</simplelist>
</para>
</refsect1>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.7 $ -->
<!-- $Revision: 1.8 $ -->
<refentry xml:id="function.ingres-field-name" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ingres_field_name</refname>
@ -15,19 +15,7 @@
</methodsynopsis>
<para>
<function>ingres_field_name</function> returns the name of a field
in a query result, or &false; on failure.
</para>
<para>
<parameter>index</parameter> is the number of the field and must be
between 1 and the value given by
<function>ingres_num_fields</function>.
</para>
<para>
See also
<function>ingres_query</function>,
<function>ingres_fetch_array</function>,
<function>ingres_fetch_object</function> and
<function>ingres_fetch_row</function>.
in a query result.
</para>
</refsect1>
@ -39,6 +27,9 @@
<term><parameter>index</parameter></term>
<listitem>
<para>
<parameter>index</parameter> is the number of the field and must
be between 1 and the value given by
<function>ingres_num_fields</function>.
</para>
</listitem>
</varlistentry>
@ -46,6 +37,8 @@
<term><parameter>link</parameter></term>
<listitem>
<para>
The connection link identifier. If not specified, the last opened link
is used.
</para>
</listitem>
</varlistentry>
@ -56,7 +49,20 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns the name of a field
in a query result, or &false; on failure.
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>ingres_query</function></member>
<member><function>ingres_fetch_array</function></member>
<member><function>ingres_fetch_object</function></member>
<member><function>ingres_fetch_row</function></member>
</simplelist>
</para>
</refsect1>