|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | | -<!-- EN-Revision: 017ddc051b8136cc9116b57ce51f655fe681bb82 Maintainer: leonardolara Status: ready --> |
| 2 | +<!-- EN-Revision: 40906725410aac6fe8cac4913a557a1784bf04b9 Maintainer: leonardolara Status: ready --> |
3 | 3 | <!-- CREDITS: leonardolara --> |
4 | 4 | <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.snmp-set-quick-print"> |
5 | 5 | <refnamediv> |
|
14 | 14 | <methodparam><type>bool</type><parameter>enable</parameter></methodparam> |
15 | 15 | </methodsynopsis> |
16 | 16 |
|
17 | | - <para> |
| 17 | + <simpara> |
18 | 18 | Define o valor de <parameter>enable</parameter> na biblioteca NET-<acronym>SNMP</acronym>. Quando este parâmetro |
19 | 19 | estiver definido (1), a biblioteca <acronym>SNMP</acronym> retornará valores de 'impressão rápida'. Isso |
20 | 20 | significa que apenas o valor será impresso. Quando <parameter>enable</parameter> não estiver |
21 | 21 | habilitado (padrão), a biblioteca NET-<acronym>SNMP</acronym> imprime informações extras, |
22 | 22 | incluindo o tipo do valor (por exemplo, Endereço IP ou OID). Além disso, |
23 | 23 | se quick_print não estiver habilitado, a biblioteca imprime valores hexadecimais adicionais |
24 | 24 | para todas as strings de três caracteres ou menos. |
25 | | - </para> |
26 | | - <para> |
| 25 | + </simpara> |
| 26 | + <simpara> |
27 | 27 | Por padrão, a biblioteca NET-<acronym>SNMP</acronym> retorna valores detalhados; quick_print é |
28 | 28 | usado para retornar apenas o valor. |
29 | | - </para> |
30 | | - <para> |
| 29 | + </simpara> |
| 30 | + <simpara> |
31 | 31 | Atualmente, as strings ainda são retornadas com aspas extras. Isso será |
32 | 32 | corrigido em uma versão posterior. |
33 | | - </para> |
| 33 | + </simpara> |
34 | 34 | </refsect1> |
35 | 35 |
|
36 | 36 | <refsect1 role="parameters"> |
|
39 | 39 | <varlistentry> |
40 | 40 | <term><parameter>enable</parameter></term> |
41 | 41 | <listitem> |
42 | | - <para> |
43 | | - </para> |
| 42 | + <simpara> |
| 43 | + </simpara> |
44 | 44 | </listitem> |
45 | 45 | </varlistentry> |
46 | 46 | </variablelist> |
47 | 47 | </refsect1> |
48 | 48 |
|
49 | 49 | <refsect1 role="returnvalues"> |
50 | 50 | &reftitle.returnvalues; |
51 | | - <para> |
| 51 | + <simpara> |
52 | 52 | &return.true.always; |
53 | | - </para> |
| 53 | + </simpara> |
54 | 54 | </refsect1> |
55 | 55 |
|
56 | 56 | <refsect1 role="changelog"> |
|
72 | 72 |
|
73 | 73 | <refsect1 role="examples"> |
74 | 74 | &reftitle.examples; |
75 | | - <para> |
| 75 | + <simpara> |
76 | 76 | A configuração quick_print é frequentemente usada ao usar as informações retornadas |
77 | 77 | em vez de exibi-las. |
78 | | - </para> |
| 78 | + </simpara> |
79 | 79 | <example> |
80 | 80 | <title>Usando <function>snmp_set_quick_print</function></title> |
81 | 81 | <programlisting role="php"> |
|
0 commit comments