Corrected function names (copy & paste errors).

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308500 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christian Hammers 2011-02-20 12:51:42 +00:00
parent 2454c1fb0e
commit e1d6988cee
5 changed files with 11 additions and 11 deletions

View file

@ -23,7 +23,7 @@
<methodparam choice="opt"><type>string</type><parameter>retries</parameter><initializer>5</initializer></methodparam>
</methodsynopsis>
<para>
The <function>snmpget</function> function is used to read the
The <function>snmp3_get</function> function is used to read the
value of an <acronym>SNMP</acronym> object specified by the
<parameter>object_id</parameter>.
</para>
@ -36,7 +36,7 @@
<term><parameter>host</parameter></term>
<listitem>
<para>
The hostname of the <acronym>SNMP</acronym> agent (server).
The hostname of the <acronym>SNMP</acronym> agent (server).
</para>
</listitem>
</varlistentry>
@ -126,11 +126,11 @@
&reftitle.examples;
<para>
<example>
<title>Using <function>snmpget</function></title>
<title>Using <function>snmp3_get</function></title>
<programlisting role="php">
<![CDATA[
<?php
$nameOfSecondInterface = snmp3_getnext('localhost', 'james', 'authPriv', 'SHA', 'secret007', 'AES', 'secret007', 'IF-MIB::ifName.2');
$nameOfSecondInterface = snmp3_get('localhost', 'james', 'authPriv', 'SHA', 'secret007', 'AES', 'secret007', 'IF-MIB::ifName.2');
?>
]]>
</programlisting>
@ -142,7 +142,7 @@ $nameOfSecondInterface = snmp3_getnext('localhost', 'james', 'authPriv', 'SHA',
&reftitle.seealso;
<para>
<simplelist>
<member><function>snmpset</function></member>
<member><function>snmp3_set</function></member>
</simplelist>
</para>
</refsect1>

View file

@ -57,7 +57,7 @@
</methodsynopsis>
<para>
The
<function>snmprealwalk</function> function is used to traverse over a number
<function>snmp3_real_walk</function> function is used to traverse over a number
of
<acronym>SNMP</acronym> objects starting from
<parameter>object_id</parameter>
@ -186,7 +186,7 @@
<para>
<example>
<title>Using
<function>snmprealwalk</function>
<function>snmp3_real_walk</function>
</title>
<programlisting role="php">
<![CDATA[

View file

@ -206,7 +206,7 @@
&reftitle.examples;
<para>
<example>
<title>Using <function>snmpgetnext</function></title>
<title>Using <function>snmp3_set</function></title>
<programlisting role="php">
<![CDATA[
<?php

View file

@ -23,7 +23,7 @@
<methodparam choice="opt"><type>string</type><parameter>retries</parameter><initializer>5</initializer></methodparam>
</methodsynopsis>
<para>
<function>snmpwalk</function> function is used to read all the values from
<function>snmp3_walk</function> function is used to read all the values from
an <acronym>SNMP</acronym> agent specified by the <parameter>hostname</parameter>.
</para>
<para>
@ -136,7 +136,7 @@
&reftitle.examples;
<para>
<example>
<title><function>snmpwalk</function> Example</title>
<title><function>snmp3_walk</function> Example</title>
<programlisting role="php">
<![CDATA[
<?php

View file

@ -160,7 +160,7 @@
&reftitle.examples;
<para>
<example>
<title>Using <function>snmpgetnext</function></title>
<title>Using <function>snmpset</function></title>
<programlisting role="php">
<![CDATA[
<?php