From 190e9545b29d936c3c95dc60b56c34a8d96fb711 Mon Sep 17 00:00:00 2001 From: Egon Schmid Date: Mon, 28 Feb 2000 18:55:51 +0000 Subject: [PATCH] There are some argument types missing. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@20702 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/ibase.xml | 144 ++++++++++++++++++++++++++++---------------- 1 file changed, 92 insertions(+), 52 deletions(-) diff --git a/functions/ibase.xml b/functions/ibase.xml index 6a9535ead1..e1ab0bb2aa 100644 --- a/functions/ibase.xml +++ b/functions/ibase.xml @@ -4,16 +4,19 @@ - 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! ibase_connect - Open a connection to an Interbase database + + Open a connection to an Interbase database + Description @@ -30,15 +33,15 @@ Opens a connection to an Interbase database. - <function>ibase_connect</function> example + <function>Ibase_connect</function> example $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); @@ -51,15 +54,21 @@ ibase_close($dbh); ibase_pconnect - + + Makes an persistent Interbase database connection + Description int ibase_connect string database - string username - string password + string + username + + string + password + Opens a persistent connection to an Interbase database. @@ -73,16 +82,21 @@ ibase_close($dbh); ibase_close - Close a connection to an Interbase database + + Close a connection to an Interbase database + Description int ibase_close - int connection_id + int + connection_id + - 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 ibase_connect. @@ -90,15 +104,19 @@ ibase_close($dbh); ibase_query - Execute a query on an Interbase database + Execute a query on an Interbase database Description int ibase_query - int link_identifier + int + link_identifier + string query - int bind_args + int + bind_args + Performs a query on a Interbase database, returning a result @@ -120,16 +138,17 @@ ibase_close($dbh); int ibase_fetch_row int result_identifier - - Returns the next row specified by the result identifier obtained using the ibase_query. - + + Returns the next row specified by the result identifier obtained + using the ibase_query. + ibase_fetch_object - + Get an object from a Interbase database Description @@ -138,17 +157,18 @@ ibase_close($dbh); int result_id - 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 ibase_query or + ibase_execute. $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); @@ -161,16 +181,17 @@ ibase_close($dbh); ibase_free_result - Free a result set + Free a result set Description - int ibase_free_result - int result_identifier + int ibase_free_result + int result_identifier - Free's a result set the has been created by ibase_query. + Free's a result set the has been created by + ibase_query. @@ -178,14 +199,19 @@ ibase_close($dbh); ibase_prepare - Prepare a query for later binding of parameter placeholders and execution. + + Prepare a query for later binding of parameter placeholders and + execution + Description int ibase_prepare - int link_identifier - string query + int + link_identifier + + string query Prepare a query for later binding of parameter placeholders (via @@ -198,7 +224,9 @@ ibase_close($dbh); ibase_bind - Bind placeholder parameters from a previously prepared query + + Bind placeholder parameters from a previously prepared query + Description @@ -206,11 +234,15 @@ ibase_close($dbh); ibase_bind int query - - Bind Parameters from a query prepared by ibase_prepare. - + + Bind Parameters from a query prepared by + ibase_prepare. + - ibase_bind is currently not functional in PHP4 + + Ibase_bind is currently not functional in + PHP4 + @@ -226,16 +258,20 @@ ibase_close($dbh); int ibase_execute int query - - Execute a query prepared (and perhaps binded) by ibase_prepare and ibase_bind. - + + Execute a query prepared (and perhaps binded) by + ibase_prepare and + ibase_bind. + ibase_free_query - Free memory allocated by a prepared query + + Free memory allocated by a prepared query + Description @@ -243,16 +279,18 @@ ibase_close($dbh); ibase_free_query int query - - Free a query prepared by ibase_prepare. - + + Free a query prepared by ibase_prepare. + ibase_timefmt - Sets the format of datetime columns returned from queries. + + Sets the format of datetime columns returned from queries + Description @@ -260,18 +298,20 @@ ibase_close($dbh); ibase_timefmt string format - - Sets the format of the datetime columns returned from queries. - - - ibase_timefmt is currently not functional in PHP4 + + Sets the format of the datetime columns returned from queries. + + + + Ibase_timefmt is currently not functional + in PHP4. + -