There are some argument types missing.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@20702 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Egon Schmid 2000-02-28 18:55:51 +00:00
parent cc6b15ec30
commit 190e9545b2

View file

@ -4,16 +4,19 @@
<partintro>
<para>
Interbase is a popular database put out by Borland/Inprise. More information about Interbase
is available at http://www.interbase.com. Oh, by the way, Interbase just joined the open
source movement!
Interbase is a popular database put out by Borland/Inprise. More
information about Interbase is available at
http://www.interbase.com. Oh, by the way, Interbase just joined
the open source movement!
</para>
</partintro>
<refentry id="function.ibase-connect">
<refnamediv>
<refname>ibase_connect</refname>
<refpurpose>Open a connection to an Interbase database</refpurpose>
<refpurpose>
Open a connection to an Interbase database
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@ -30,15 +33,15 @@
<para>
Opens a connection to an Interbase database.
<example>
<title><function>ibase_connect</function> example</title>
<title><function>Ibase_connect</function> example</title>
<programlisting role="php">
$dbh = ibase_connect ($host, $username, $password);
$stmt = 'SELECT * FROM tblname';
$sth = ibase_query($dbh, $stmt);
while ($row = ibase_fetch_object($sth)) {
$sth = ibase_query ($dbh, $stmt);
while ($row = ibase_fetch_object ($sth)) {
print $row->email . "\n";
}
ibase_close($dbh);
ibase_close ($dbh);
</programlisting>
</example>
</para>
@ -51,15 +54,21 @@ ibase_close($dbh);
<refentry id="function.ibase-pconnect">
<refnamediv>
<refname>ibase_pconnect</refname>
<refpurpose></refpurpose>
<refpurpose>
Makes an persistent Interbase database connection
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcdef>int <function>ibase_connect</function></funcdef>
<paramdef>string <parameter>database</parameter></paramdef>
<paramdef>string <parameter><optional>username</optional></parameter></paramdef>
<paramdef>string <parameter><optional>password</optional></parameter></paramdef>
<paramdef>string
<parameter><optional>username</optional></parameter>
</paramdef>
<paramdef>string
<parameter><optional>password</optional></parameter>
</paramdef>
</funcsynopsis>
<simpara>
Opens a persistent connection to an Interbase database.
@ -73,16 +82,21 @@ ibase_close($dbh);
<refentry id="function.ibase-close">
<refnamediv>
<refname>ibase_close</refname>
<refpurpose>Close a connection to an Interbase database</refpurpose>
<refpurpose>
Close a connection to an Interbase database
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcdef>int <function>ibase_close</function></funcdef>
<paramdef>int <parameter><optional>connection_id</optional></parameter></paramdef>
<paramdef>int
<parameter><optional>connection_id</optional></parameter>
</paramdef>
</funcsynopsis>
<para>
Close a connection to an Interbase database. This function takes a connection id returned from ibase_connect.
Close a connection to an Interbase database. This function takes
a connection id returned from <function>ibase_connect</function>.
</para>
</refsect1>
</refentry>
@ -90,15 +104,19 @@ ibase_close($dbh);
<refentry id="function.ibase-query">
<refnamediv>
<refname>ibase_query</refname>
<refpurpose> Execute a query on an Interbase database</refpurpose>
<refpurpose>Execute a query on an Interbase database</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcdef>int <function>ibase_query</function></funcdef>
<paramdef>int <parameter><optional>link_identifier</optional></parameter></paramdef>
<paramdef>int
<parameter><optional>link_identifier</optional></parameter>
</paramdef>
<paramdef>string <parameter>query</parameter> </paramdef>
<paramdef>int <parameter><optional>bind_args</optional></parameter> </paramdef>
<paramdef>int
<parameter><optional>bind_args</optional></parameter>
</paramdef>
</funcsynopsis>
<simpara>
Performs a query on a Interbase database, returning a result
@ -120,16 +138,17 @@ ibase_close($dbh);
<funcdef>int <function>ibase_fetch_row</function></funcdef>
<paramdef> <parameter>int result_identifier</parameter></paramdef>
</funcsynopsis>
<simpara>
Returns the next row specified by the result identifier obtained using the <function>ibase_query</function>.
</simpara>
<simpara>
Returns the next row specified by the result identifier obtained
using the <function>ibase_query</function>.
</simpara>
</refsect1>
</refentry>
<refentry id="function.ibase-fetch-object">
<refnamediv>
<refname>ibase_fetch_object</refname>
<refpurpose></refpurpose>
<refpurpose>Get an object from a Interbase database</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@ -138,17 +157,18 @@ ibase_close($dbh);
<paramdef>int <parameter>result_id</parameter></paramdef>
</funcsynopsis>
<para>
Fetches a row as a psuedo-object from a result id obtained either by ibase_query or
ibase_execute.
Fetches a row as a psuedo-object from a result id obtained either
by <function>ibase_query</function> or
<function>ibase_execute</function>.
<informalexample>
<programlisting role="php">
$dbh = ibase_connect ($host, $username, $password);
$stmt = 'SELECT * FROM tblname';
$sth = ibase_query($dbh, $stmt);
while ($row = ibase_fetch_object($sth)) {
$sth = ibase_query ($dbh, $stmt);
while ($row = ibase_fetch_object ($sth)) {
print $row->email . "\n";
}
ibase_close($dbh);
ibase_close ($dbh);
</programlisting>
</informalexample>
</para>
@ -161,16 +181,17 @@ ibase_close($dbh);
<refentry id="function.ibase-free-result">
<refnamediv>
<refname>ibase_free_result</refname>
<refpurpose> Free a result set</refpurpose>
<refpurpose>Free a result set</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcdef>int <function>ibase_free_result</function></funcdef>
<paramdef> <parameter>int result_identifier</parameter></paramdef>
<funcdef>int <function>ibase_free_result</function></funcdef>
<paramdef>int <parameter>result_identifier</parameter></paramdef>
</funcsynopsis>
<simpara>
Free's a result set the has been created by <function>ibase_query</function>.
Free's a result set the has been created by
<function>ibase_query</function>.
</simpara>
</refsect1>
</refentry>
@ -178,14 +199,19 @@ ibase_close($dbh);
<refentry id="function.ibase-prepare">
<refnamediv>
<refname>ibase_prepare</refname>
<refpurpose>Prepare a query for later binding of parameter placeholders and execution.</refpurpose>
<refpurpose>
Prepare a query for later binding of parameter placeholders and
execution
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcdef>int <function>ibase_prepare</function></funcdef>
<paramdef> <parameter><optional>int link_identifier</optional></parameter></paramdef>
<paramdef> <parameter> string query</parameter></paramdef>
<paramdef>int
<parameter><optional>link_identifier</optional></parameter>
</paramdef>
<paramdef>string <parameter>query</parameter></paramdef>
</funcsynopsis>
<simpara>
Prepare a query for later binding of parameter placeholders (via
@ -198,7 +224,9 @@ ibase_close($dbh);
<refentry id="function.ibase-bind">
<refnamediv>
<refname>ibase_bind</refname>
<refpurpose>Bind placeholder parameters from a previously prepared query</refpurpose>
<refpurpose>
Bind placeholder parameters from a previously prepared query
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@ -206,11 +234,15 @@ ibase_close($dbh);
<funcdef> <function>ibase_bind</function></funcdef>
<paramdef> <parameter>int query</parameter></paramdef>
</funcsynopsis>
<simpara>
Bind Parameters from a query prepared by <function>ibase_prepare</function>.
</simpara>
<simpara>
Bind Parameters from a query prepared by
<function>ibase_prepare</function>.
</simpara>
<note>
<para><function>ibase_bind</function> is currently not functional in PHP4 </para>
<para>
<function>Ibase_bind</function> is currently not functional in
PHP4
</para>
</note>
</refsect1>
</refentry>
@ -226,16 +258,20 @@ ibase_close($dbh);
<funcdef>int <function>ibase_execute</function></funcdef>
<paramdef> <parameter>int query</parameter></paramdef>
</funcsynopsis>
<simpara>
Execute a query prepared (and perhaps binded) by <function>ibase_prepare</function> and <function>ibase_bind</function>.
</simpara>
<simpara>
Execute a query prepared (and perhaps binded) by
<function>ibase_prepare</function> and
<function>ibase_bind</function>.
</simpara>
</refsect1>
</refentry>
<refentry id="function.ibase-free-query">
<refnamediv>
<refname>ibase_free_query</refname>
<refpurpose>Free memory allocated by a prepared query</refpurpose>
<refpurpose>
Free memory allocated by a prepared query
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@ -243,16 +279,18 @@ ibase_close($dbh);
<funcdef> <function>ibase_free_query</function></funcdef>
<paramdef> <parameter>int query</parameter></paramdef>
</funcsynopsis>
<simpara>
Free a query prepared by <function>ibase_prepare</function>.
</simpara>
<simpara>
Free a query prepared by <function>ibase_prepare</function>.
</simpara>
</refsect1>
</refentry>
<refentry id="function.ibase-timefmt">
<refnamediv>
<refname>ibase_timefmt</refname>
<refpurpose>Sets the format of datetime columns returned from queries. </refpurpose>
<refpurpose>
Sets the format of datetime columns returned from queries
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@ -260,18 +298,20 @@ ibase_close($dbh);
<funcdef> <function>ibase_timefmt</function></funcdef>
<paramdef> <parameter>string format</parameter></paramdef>
</funcsynopsis>
<simpara>
Sets the format of the datetime columns returned from queries.
</simpara>
<note>
<para><function>ibase_timefmt</function> is currently not functional in PHP4</para>
<simpara>
Sets the format of the datetime columns returned from queries.
</simpara>
<note>
<para>
<function>Ibase_timefmt</function> is currently not functional
in PHP4.
</para>
</note>
</refsect1>
</refentry>
</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml