uTools-Manuals/docs/php/maxdb_get_client_info.html
2019-04-08 23:22:26 +08:00

73 lines
3.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Returns the MaxDB client version as a string</title>
</head>
<body class="docs"><div id="layout">
<div id="layout-content"><div id="function.maxdb-get-client-info" class="refentry">
<div class="refnamediv">
<h1 class="refname">maxdb_get_client_info</h1>
<p class="verinfo">(PECL maxdb &gt;= 1.0)</p><p class="refpurpose"><span class="refname">maxdb_get_client_info</span> &mdash; <span class="dc-title">Returns the MaxDB client version as a string</span></p>
</div>
<div class="refsect1 description" id="refsect1-function.maxdb-get-client-info-description">
<h3 class="title">说明</h3>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>maxdb_get_client_info</strong></span>
( <span class="methodparam">void</span>
) : <span class="type">string</span></div>
<p class="para rdfs-comment">
The <span class="function"><strong>maxdb_get_client_info()</strong></span> function is used to
return a string representing the client version being used in the
MaxDB extension.
</p>
</div>
<div class="refsect1 returnvalues" id="refsect1-function.maxdb-get-client-info-returnvalues">
<h3 class="title">返回值</h3>
<p class="para">
A string that represents the MaxDB client library version
</p>
</div>
<div class="refsect1 examples" id="refsect1-function.maxdb-get-client-info-examples">
<h3 class="title">范例</h3>
<p class="para">
<div class="example" id="example-1365">
<p><strong>Example #1 maxdb_get_client_info</strong></p>
<div class="example-contents">
<div class="phpcode"><pre><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br /><br /></span><span style="color: #FF8000">/*&nbsp;We&nbsp;don't&nbsp;need&nbsp;a&nbsp;connection&nbsp;to&nbsp;determine<br />&nbsp;&nbsp;&nbsp;the&nbsp;version&nbsp;of&nbsp;MaxDB&nbsp;client&nbsp;library&nbsp;*/<br /><br /></span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"Client&nbsp;library&nbsp;version:&nbsp;%s\n"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">maxdb_get_client_info</span><span style="color: #007700">());<br /></span><span style="color: #0000BB">?&gt;</span>
</span>
</pre></div>
</div>
</div>
</p>
<p class="para">以上例程的输出类似于:</p>
<div class="example-contents screen">
<div class="cdata"><pre>
Client library version: libSQLDBC &lt;...&gt;
</pre></div>
</div>
</div>
<div class="refsect1 seealso" id="refsect1-function.maxdb-get-client-info-seealso">
<h3 class="title">参见</h3>
<p class="para">
<ul class="simplelist">
<li class="member"><span class="function"><a href="maxdb_get_client_version.html" class="function" rel="rdfs-seeAlso">maxdb_get_client_version()</a> - Get MaxDB client info</span></li>
<li class="member"><span class="function"><a href="maxdb_get_server_info.html" class="function" rel="rdfs-seeAlso">maxdb_get_server_info()</a> - Returns the version of the MaxDB server</span></li>
<li class="member"><span class="function"><a href="maxdb_get_server_version.html" class="function" rel="rdfs-seeAlso">maxdb_get_server_version()</a> - Returns the version of the MaxDB server as an integer</span></li>
</ul>
</p>
</div>
</div></div></div></body></html>