Adding constants.xml and applying new structure

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@89185 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Gabor Hojtsy 2002-07-20 13:08:17 +00:00
parent 22851b460f
commit 6ba9290a49
2 changed files with 120 additions and 33 deletions

View file

@ -0,0 +1,59 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<section id="ingres.constants">
&reftitle.constants;
&extension.constants;
<variablelist>
<varlistentry>
<term>
<constant>INGRES_ASSOC</constant>
(<link linkend="language.types.integer">integer</link>)
</term>
<listitem>
<simpara>
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
<constant>INGRES_NUM</constant>
(<link linkend="language.types.integer">integer</link>)
</term>
<listitem>
<simpara>
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
<constant>INGRES_BOTH</constant>
(<link linkend="language.types.integer">integer</link>)
</term>
<listitem>
<simpara>
</simpara>
</listitem>
</varlistentry>
</variablelist>
</section>
<!-- 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:
-->

View file

@ -1,43 +1,71 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<reference id="ref.ingres">
<title>Ingres II functions</title>
<titleabbrev>Ingres II</titleabbrev>
<partintro>
&warn.experimental;
<simpara>
These functions allow you to access Ingres II database servers.
</simpara>
<simpara>
In order to have these functions available, you must compile php
with Ingres support by using the
<option role="configure">--with-ingres</option> option.
You need the Open API library and header files included with
Ingres II. If the II_SYSTEM environment variable isn't correctly
set you may have to use
<option role="configure">--with-ingres=DIR</option>
to specify your Ingres installation directory.
</simpara>
<simpara>
When using this extension with Apache, if Apache does not start
and complains with "PHP Fatal error: Unable to start ingres_ii
module in Unknown on line 0" then make sure the environement
variable II_SYSTEM is correctly set. Adding "export
II_SYSTEM="/home/ingres/II" in the script that starts Apache, just
before launching httpd, should be fine.
</simpara>
<note>
<section id="ingres.intro">
&reftitle.intro;
<para>
If you already used PHP extensions to access other database
servers, note that Ingres doesn't allow concurrent queries and/or
transaction over one connection, thus you won't find any result
or transaction handle in this extension. The result of a query
must be treated before sending another query, and a transaction
must be commited or rolled back before opening another
transaction (which is automaticaly done when sending the first
query).
These functions allow you to access Ingres II database servers.
</para>
</note>
<note>
<para>
If you already used PHP extensions to access other database
servers, note that Ingres doesn't allow concurrent queries and/or
transaction over one connection, thus you won't find any result
or transaction handle in this extension. The result of a query
must be treated before sending another query, and a transaction
must be commited or rolled back before opening another
transaction (which is automaticaly done when sending the first
query).
</para>
</note>
&warn.experimental;
</section>
<section id="ingres.requirements">
&reftitle.required;
<para>
To compile PHP with Ingres support, you need the Open API library
and header files included with Ingres II.
</para>
</section>
<section id="ingres.installation">
&reftitle.install;
<para>
In order to have these functions available, you must compile php
with Ingres support by using the
<link linkend="install.configure.with-ingres">--with-ingres</link> option.
If the II_SYSTEM environment variable isn't correctly
set you may have to use
<link linkend="install.configure.with-ingres">--with-ingres=DIR</link>
to specify your Ingres installation directory.
</para>
<para>
When using this extension with Apache, if Apache does not start
and complains with "PHP Fatal error: Unable to start ingres_ii
module in Unknown on line 0" then make sure the environement
variable II_SYSTEM is correctly set. Adding "export
II_SYSTEM="/home/ingres/II" in the script that starts Apache, just
before launching httpd, should be fine.
</para>
</section>
<section id="ingres.configuration">
&reftitle.runtime;
&no.config;
</section>
<section id="ingres.resources">
&reftitle.resources;
&no.resource;
</section>
&reference.ingres-ii.constants;
</partintro>
&reference.ingres-ii.functions;