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

56 lines
1.8 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>Set compatibility mode</title>
</head>
<body class="docs"><div id="layout">
<div id="layout-content"><div id="function.trader-set-compat" class="refentry">
<div class="refnamediv">
<h1 class="refname">trader_set_compat</h1>
<p class="verinfo">(PECL trader &gt;= 0.2.2)</p><p class="refpurpose"><span class="refname">trader_set_compat</span> &mdash; <span class="dc-title">Set compatibility mode</span></p>
</div>
<div class="refsect1 description" id="refsect1-function.trader-set-compat-description">
<h3 class="title">说明</h3>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>trader_set_compat</strong></span>
( <span class="methodparam"><span class="type">int</span> <code class="parameter">$compatId</code></span>
) : <span class="type"><span class="type void">void</span></span></div>
<p class="para rdfs-comment">
Set compatibility mode which will affect the way calculations are done by all the extension functions.
</p>
</div>
<div class="refsect1 parameters" id="refsect1-function.trader-set-compat-parameters">
<h3 class="title">参数</h3>
<dl>
<dt>
<code class="parameter">compatId</code></dt>
<dd>
<p class="para">
Compatibility Id. <a href="trader.constants.html" class="link">TRADER_COMPATIBILITY_*</a> series of constants should be used.
</p>
</dd>
</dl>
</div>
<div class="refsect1 returnvalues" id="refsect1-function.trader-set-compat-returnvalues">
<h3 class="title">返回值</h3>
<p class="para">没有返回值。</p>
</div>
</div></div></div></body></html>