uTools-Manuals/docs/php/snmp_get_quick_print.html
2019-04-28 19:00:34 +08:00

48 lines
2.3 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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>返回 UCD 库中 quick_print 设置的当前值</title>
</head>
<body class="docs"><div id="layout">
<div id="layout-content"><div id="function.snmp-get-quick-print" class="refentry">
<div class="refnamediv">
<h1 class="refname">snmp_get_quick_print</h1>
<p class="verinfo">(PHP 4, PHP 5, PHP 7)</p><p class="refpurpose"><span class="refname">snmp_get_quick_print</span> &mdash; <span class="dc-title">返回 UCD 库中 quick_print 设置的当前值</span></p>
</div>
<div class="refsect1 unknown-seealsp" id="refsect1-function.snmp-get-quick-print-unknown-seealsp">
<h3 class="title">说明</h3>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>snmp_get_quick_print</strong></span>
( <span class="methodparam">void</span>
) : <span class="type">bool</span></div>
<p class="para rdfs-comment">
返回保存在 UCD 库中 quick_print 的当前值。默认情况下 quick_print 为 off。
<div class="example" id="example-5558">
<p><strong>Example #1 <span class="function"><strong>snmp_get_quick_print()</strong></span> 示例</strong></p>
<div class="example-contents">
<div class="phpcode"><pre><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br />&nbsp;&nbsp;$quickprint&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">snmp_get_quick_print</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">?&gt;</span>
</span>
</pre></div>
</div>
</div>
</p>
<p class="para">
如果 quick_print 为 off上边的函数调用将返回
<strong><code>FALSE</code></strong>,而如果 quick_print 为 on则返回 <strong><code>TRUE</code></strong>
</p>
<p class="para">
<span class="function"><strong>snmp_get_quick_print()</strong></span> 仅在使用了 UCD SNMP
库时才可用。当使用 Windows SNMP 库时,此函数不可用。
</p>
<p class="para">
参见
<span class="function"><a href="snmp_set_quick_print.html" class="function">snmp_set_quick_print()</a></span> 查看 quick_print 的详细说明。
</p>
</div>
</div></div></div></body></html>