2010-03-28 22:10:10 +00:00
<?xml version="1.0" encoding="utf-8"?>
2009-07-11 07:54:14 +00:00
<!-- $Revision$ -->
2005-09-04 19:39:32 +00:00
2007-06-20 22:25:43 +00:00
<reference xml:id= "ref.maxdb" xmlns= "http://docbook.org/ns/docbook" xmlns:xlink= "http://www.w3.org/1999/xlink" >
2008-05-30 17:25:13 +00:00
<title > MaxDB &Functions; </title>
2005-01-12 18:53:25 +00:00
<partintro >
2007-12-26 13:10:50 +00:00
<!-- FIXME: This extension apparently defines some classess that need to be
brought up2date with out OO markup -->
2011-09-30 14:21:51 +00:00
<section xml:id= "maxdb.classes" >
2005-03-08 16:39:06 +00:00
&reftitle.classes;
2011-09-30 14:21:51 +00:00
<section xml:id= "maxdb.class.maxdb" >
2005-03-08 16:39:06 +00:00
<title > <classname > maxdb</classname> </title>
<para >
Represents a connection between PHP and a MaxDB database.
</para>
2011-09-30 14:21:51 +00:00
<section xml:id= "maxdb.class.maxdb.constructor" >
2005-03-08 16:39:06 +00:00
&reftitle.constructor;
<itemizedlist >
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-connect" > maxdb</link> - construct a new maxdb object</para>
2005-03-08 16:39:06 +00:00
</listitem>
</itemizedlist>
</section>
2011-09-30 14:21:51 +00:00
<section xml:id= "maxdb.class.maxdb.methods" >
2005-03-08 16:39:06 +00:00
&reftitle.methods;
<itemizedlist >
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-autocommit" > autocommit</link> - turns on or off auto-commiting database modifications</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-change-user" > change_user</link> - changes the user of the specified database connection</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-character-set-name" > character_set_name</link> - returns the default character set for the database connection</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-close" > close</link> - closes a previously opened connection</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-commit" > commit</link> - commits the current transaction</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-connect" > connect</link> - opens a new connection to MaxDB database server</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-debug" > debug</link> - performs debugging operations</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-dump-debug-info" > dump_debug_info</link> - dumps debug information</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-get-client-info" > get_client_info</link> - returns client version</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-get-host-info" > get_host_info</link> - returns type of connection used</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-get-server-info" > get_server_info</link> - returns version of the MaxDB server</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-get-server-version" > get_server_version</link> - returns version of the MaxDB server</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-init" > init</link> - initializes maxdb object</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-info" > info</link> - retrieves information about the most recently executed query</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-kill" > kill</link> - asks the server to kill a MaxDB thread</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-multi-query" > multi_query</link> - performs multiple queries</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-more-results" > more_results</link> - check if more results exist from currently executed multi-query</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-next-result" > next_result</link> - reads next result from currently executed multi-query</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-options" > options</link> - set options</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-ping" > ping</link> - pings a server connection or reconnects if there is no connection</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-prepare" > prepare</link> - prepares an SQL query</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-query" > query</link> - performs a query</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-real-connect" > real_connect</link> - attempts to open a connection to MaxDB database server</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-real-escape-string" > escape_string</link> - escapes special characters in a string for use in an SQL statement, taking into account the current charset of the connection</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-rollback" > rollback</link> - rolls back the current transaction</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-select-db" > select_db</link> - selects the default database</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-ssl-set" > ssl_set</link> - sets ssl parameters</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-stat" > stat</link> - gets the current system status</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-stmt-init" > stmt_init</link> - initializes a statement for use with <link linkend= "function.maxdb-stmt-prepare" > maxdb_stmt_prepare</link> </para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-store-result" > store_result</link> - transfers a resultset from last query</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-use-result" > use_result</link> - transfers an unbuffered resultset from last query</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-thread-safe" > thread-safe</link> - returns whether thread safety is given or not</para>
2005-03-08 16:39:06 +00:00
</listitem>
</itemizedlist>
</section>
2011-09-30 14:21:51 +00:00
<section xml:id= "maxdb.class.maxdb.properties" >
2005-03-08 16:39:06 +00:00
&reftitle.properties;
<itemizedlist >
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-affected-rows" > affected_rows</link> - gets the number of affected rows in a previous MaxDB operation</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-get-client-info" > client_info</link> - returns the MaxDB client version as a string</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-get-client-version" > client_version</link> - returns the MaxDB client version as an integer</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-errno" > errno</link> - returns the error code for the most recent function call</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-error" > error</link> - returns the error string for the most recent function call</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-field-count" > field_count</link> - returns the number of columns for the most recent query</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-get-host-info" > host_info</link> - returns a string representing the type of connection used</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-info" > info</link> - retrieves information about the most recently executed query</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-insert-id" > insert_id</link> - returns the auto generated id used in the last query</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-get-proto-info" > protocol_version</link> - returns the version of the MaxDB protocol used</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-sqlstate" > sqlstate</link> - returns a string containing the SQLSTATE error code for the last error</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-thread-id" > thread_id</link> - returns the thread ID for the current connection</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-warning-count" > warning_count</link> - returns the number of warnings generated during execution of the previous SQL statement</para>
2005-03-08 16:39:06 +00:00
</listitem>
</itemizedlist>
</section>
</section>
2005-01-12 18:53:25 +00:00
2011-09-30 14:21:51 +00:00
<section xml:id= "maxdb.classes.stmt" >
2005-03-08 16:39:06 +00:00
<title > <classname > maxdb_stmt</classname> </title>
<para >
Represents a prepared statement.
</para>
2011-09-30 14:21:51 +00:00
<section xml:id= "maxdb.class.stmt.methods" >
2005-03-08 16:39:06 +00:00
&reftitle.methods;
<itemizedlist >
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-bind-param" > bind_param</link> - binds variables to a prepared statement</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-bind-result" > bind_result</link> - binds variables to a prepared statement for result storage</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-stmt-close" > close</link> - closes a prepared statement</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-stmt-data-seek" > data-seek</link> - seeks to an arbitrary row in a statement result set</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-execute" > execute</link> - executes a prepared statement</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-fetch" > fetch</link> - fetches result from a prepared statement into bound variables</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-stmt-free-result" > free_result</link> - frees stored result memory for the given statement handle</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-stmt-result-metadata" > result_metadata</link> - retrieves a resultset from a prepared statement for metadata information</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-stmt-prepare" > prepare</link> - prepares an SQL query</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-send-long-data" > send_long_data</link> - sends data in chunks</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-stmt-close-long-data" > close_long_data</link> - end sending long data</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-stmt-reset" > reset</link> - resets a prepared statement</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-stmt-store-result" > store_result</link> - buffers complete resultset from a prepared statement</para>
2005-03-08 16:39:06 +00:00
</listitem>
</itemizedlist>
</section>
2011-09-30 14:21:51 +00:00
<section xml:id= "maxdb.class.stmt.properties" >
2005-03-08 16:39:06 +00:00
&reftitle.properties;
<itemizedlist >
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-stmt-affected-rows" > affected_rows</link> - returns affected rows from last statement execution</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-stmt-errno" > errno</link> - returns errorcode for last statement function</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-stmt-error" > errno</link> - returns errormessage for last statement function</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-stmt-param-count" > param_count</link> - returns number of parameter for a given prepare statement</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-stmt-sqlstate" > sqlstate</link> - returns a string containing the SQLSTATE error code for the last statement function</para>
2005-03-08 16:39:06 +00:00
</listitem>
</itemizedlist>
</section>
</section>
2011-09-30 14:21:51 +00:00
<section xml:id= "maxdb.classes.result" >
2005-03-08 16:39:06 +00:00
<title > <classname > maxdb_result</classname> </title>
<para >
Represents the result set obtained from a query against the database.
</para>
2011-09-30 14:21:51 +00:00
<section xml:id= "maxdb.class.result.methods" >
2005-03-08 16:39:06 +00:00
&reftitle.methods;
<itemizedlist >
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-free-result" > close</link> - closes resultset</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-data-seek" > data_seek</link> - moves internal result pointer</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-fetch-field" > fetch_field</link> - gets column information from a resultset</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-fetch-fields" > fetch_fields</link> - gets information for all columns from a resulset</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-fetch-field-direct" > fetch_field_direct</link> - gets column information for specified column</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-fetch-array" > fetch_array</link> - fetches a result row as an associative array, a numeric array, or both.</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-fetch-assoc" > fetch_assoc</link> - fetches a result row as an associative array</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-fetch-object" > fetch_object</link> - fetches a result row as an object</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-fetch-row" > fetch_row</link> - gets a result row as an enumerated array</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-free-result" > close</link> - frees result memory</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-field-seek" > field_seek</link> - set result pointer to a specified field offset</para>
2005-03-08 16:39:06 +00:00
</listitem>
</itemizedlist>
</section>
2011-09-30 14:21:51 +00:00
<section xml:id= "maxdb.class.result.properties" >
2005-03-08 16:39:06 +00:00
&reftitle.properties;
<itemizedlist >
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-field-tell" > current_field</link> - returns offset of current fieldpointer</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-field-count" > field_count</link> - returns number of fields in resultset</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-fetch-lengths" > lengths</link> - returns an array of columnlengths</para>
2005-03-08 16:39:06 +00:00
</listitem>
<listitem >
2011-09-30 14:21:51 +00:00
<para > <link linkend= "function.maxdb-num-rows" > num_rows</link> - returns number of rows in resultset</para>
2005-03-08 16:39:06 +00:00
</listitem>
</itemizedlist>
</section>
</section>
</section>
2005-01-12 18:53:25 +00:00
</partintro>
2007-12-10 17:06:11 +00:00
&reference.maxdb.entities.functions;
2005-01-12 18:53:25 +00:00
</reference>
<!-- 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
2009-09-25 07:04:39 +00:00
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
2005-01-12 18:53:25 +00:00
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
-->
2007-12-26 13:10:50 +00:00