2010-03-28 22:10:10 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2009-07-11 07:54:14 +00:00
|
|
|
<!-- $Revision$ -->
|
2007-06-20 22:25:43 +00:00
|
|
|
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.maxdb-get-client-version">
|
2007-01-29 16:56:02 +00:00
|
|
|
<refnamediv>
|
|
|
|
<refname>maxdb_get_client_version</refname>
|
|
|
|
<refpurpose>Get MaxDB client info</refpurpose>
|
|
|
|
</refnamediv>
|
2007-06-16 19:11:13 +00:00
|
|
|
|
|
|
|
<refsect1 role="description">
|
|
|
|
&reftitle.description;
|
2007-01-29 16:56:02 +00:00
|
|
|
<methodsynopsis>
|
|
|
|
<type>int</type><methodname>maxdb_get_client_version</methodname>
|
|
|
|
<void/>
|
|
|
|
</methodsynopsis>
|
|
|
|
<para>
|
|
|
|
Returns client version number as an integer.
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
2007-06-16 19:11:13 +00:00
|
|
|
|
|
|
|
<refsect1 role="returnvalues">
|
|
|
|
&reftitle.returnvalues;
|
2007-01-29 16:56:02 +00:00
|
|
|
<para>
|
|
|
|
A number that represents the MaxDB client library version in format:
|
|
|
|
<literal>main_version*10000 + minor_version *100 + sub_version</literal>.
|
|
|
|
For example, 7.5.0 is returned as 70500.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
This is useful to quickly determine the version of the client library
|
|
|
|
to know if some capability exists.
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
2007-06-16 19:11:13 +00:00
|
|
|
|
|
|
|
<refsect1 role="examples">
|
|
|
|
&reftitle.examples;
|
2007-01-29 16:56:02 +00:00
|
|
|
<para>
|
|
|
|
<example>
|
|
|
|
<title>maxdb_get_client_version</title>
|
2011-09-30 14:21:51 +00:00
|
|
|
<programlisting role="php">
|
2005-01-12 18:53:25 +00:00
|
|
|
<![CDATA[
|
|
|
|
<?php
|
|
|
|
|
|
|
|
/* We don't need a connection to determine
|
|
|
|
the version of MaxDB client library */
|
|
|
|
|
|
|
|
printf("Client library version: %d\n", maxdb_get_client_version());
|
|
|
|
?>
|
|
|
|
]]>
|
2007-01-29 16:56:02 +00:00
|
|
|
</programlisting>
|
|
|
|
</example>
|
|
|
|
</para>
|
2008-06-04 08:18:53 +00:00
|
|
|
&example.outputs.similar;
|
2007-01-29 16:56:02 +00:00
|
|
|
<screen>
|
2005-01-12 18:53:25 +00:00
|
|
|
<![CDATA[
|
|
|
|
Client library version: 7.<...>
|
|
|
|
]]>
|
2007-01-29 16:56:02 +00:00
|
|
|
</screen>
|
|
|
|
</refsect1>
|
2007-06-16 19:11:13 +00:00
|
|
|
|
|
|
|
<refsect1 role="seealso">
|
|
|
|
&reftitle.seealso;
|
|
|
|
<para>
|
|
|
|
<simplelist>
|
|
|
|
<member><function>maxdb_get_client_info</function></member>
|
|
|
|
<member><function>maxdb_get_server_info</function></member>
|
|
|
|
<member><function>maxdb_get_server_version</function></member>
|
|
|
|
</simplelist>
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
2007-01-29 16:56:02 +00:00
|
|
|
</refentry>
|
2005-01-12 18:53:25 +00:00
|
|
|
|
|
|
|
<!-- 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
|
|
|
|
-->
|