<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.snmp.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'it',
  ),
  'this' => 
  array (
    0 => 'function.snmp-get-valueretrieval.php',
    1 => 'snmp_get_valueretrieval',
    2 => 'Return the method how the SNMP values will be returned',
  ),
  'up' => 
  array (
    0 => 'ref.snmp.php',
    1 => 'SNMP Funzioni',
  ),
  'prev' => 
  array (
    0 => 'function.snmp-get-quick-print.php',
    1 => 'snmp_get_quick_print',
  ),
  'next' => 
  array (
    0 => 'function.snmp-read-mib.php',
    1 => 'snmp_read_mib',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/snmp/functions/snmp-get-valueretrieval.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.snmp-get-valueretrieval" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">snmp_get_valueretrieval</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.3.3, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">snmp_get_valueretrieval</span> &mdash; <span class="dc-title">
   Return the method how the SNMP values will be returned
  </span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.snmp-get-valueretrieval-description">
  <h3 class="title">Descrizione</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>snmp_get_valueretrieval</strong></span>(): <span class="type"><a href="language.types.integer.php" class="type int">int</a></span></div>

 </div>


 <div class="refsect1 parameters" id="refsect1-function.snmp-get-valueretrieval-parameters">
  <h3 class="title">Elenco dei parametri</h3>
  <p class="para">Questa funzione non contiene parametri.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.snmp-get-valueretrieval-returnvalues">
  <h3 class="title">Valori restituiti</h3>
  <p class="simpara">
   OR-ed combitantion of constants ( <strong><code><a href="snmp.constants.php#constant.snmp-value-library">SNMP_VALUE_LIBRARY</a></code></strong> or
   <strong><code><a href="snmp.constants.php#constant.snmp-value-plain">SNMP_VALUE_PLAIN</a></code></strong> ) with
   possible SNMP_VALUE_OBJECT set.
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-function.snmp-get-valueretrieval-examples">
  <h3 class="title">Esempi</h3>
  <div class="example" id="example-1">
   <p><strong>Example #1 Using <span class="function"><strong>snmp_get_valueretrieval()</strong></span></strong></p>
   <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br /> $ret </span><span style="color: #007700">= </span><span style="color: #0000BB">snmpget</span><span style="color: #007700">(</span><span style="color: #DD0000">'localhost'</span><span style="color: #007700">, </span><span style="color: #DD0000">'public'</span><span style="color: #007700">, </span><span style="color: #DD0000">'IF-MIB::ifName.1'</span><span style="color: #007700">);<br /> if (</span><span style="color: #0000BB">snmp_get_valueretrieval</span><span style="color: #007700">() &amp; </span><span style="color: #0000BB">SNMP_VALUE_OBJECT</span><span style="color: #007700">) {<br />   echo </span><span style="color: #0000BB">$ret</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">value</span><span style="color: #007700">;<br /> } else {<br />   echo </span><span style="color: #0000BB">$ret</span><span style="color: #007700">;<br /> }<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
   </div>

  </div>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.snmp-get-valueretrieval-seealso">
  <h3 class="title">Vedere anche:</h3>
  <ul class="simplelist">
   <li>
    <span class="function"><a href="function.snmp-set-valueretrieval.php" class="function" rel="rdfs-seeAlso">snmp_set_valueretrieval()</a> - Specify the method how the SNMP values will be returned</span>
   </li>
   <li><a href="snmp.constants.php" class="xref">Costanti predefinite</a></li>
  </ul>
 </div>


</div><?php manual_footer($setup); ?>