original_string: public function realWalk1d($oid) {
  
          $arrayData = $this->realWalk($oid);
  
          $result = array();
  
          foreach ($arrayData as $_oid => $value) {
  
              $oidPrefix = substr($_oid, 0, strrpos($_oid, '.'));
  
              if (!isset($result[$oidPrefix])) {
                  $result[$oidPrefix] = Array();
              }
              $aIndexOid = str_replace($oidPrefix . ".", "", $_oid);
              $result[$oidPrefix][$aIndexOid] = $this->parseSnmpValue($value);
          }
  
          return $result;
      }
code: public function realWalk1d($oid) {
  
          $arrayData = $this->realWalk($oid);
  
          $result = array();
  
          foreach ($arrayData as $_oid => $value) {
  
              $oidPrefix = substr($_oid, 0, strrpos($_oid, '.'));
  
              if (!isset($result[$oidPrefix])) {
                  $result[$oidPrefix] = Array();
              }
              $aIndexOid = str_replace($oidPrefix . ".", "", $_oid);
              $result[$oidPrefix][$aIndexOid] = $this->parseSnmpValue($value);
          }
  
          return $result;
      }
code_tokens: public function realWalk1d ( $ oid ) { $ arrayData = $ this -> realWalk ( $ oid ) ; $ result = array ( ) ; foreach ( $ arrayData as $ _oid => $ value ) { $ oidPrefix = substr ( $ _oid , 0 , strrpos ( $ _oid , '.' ) ) ; if ( ! isset ( $ result [ $ oidPrefix ] ) ) { $ result [ $ oidPrefix ] = Array ( ) ; } $ aIndexOid = str_replace ( $ oidPrefix . "." , "" , $ _oid ) ; $ result [ $ oidPrefix ] [ $ aIndexOid ] = $ this -> parseSnmpValue ( $ value ) ; } return $ result ; }
docstring: Get indexed Real Walk return values
  @param string $oid
  @return array
docstring_tokens: Get indexed Real Walk return values