Diff for /loncom/interface/lonnavmaps.pm between versions 1.232 and 1.234

version 1.232, 2003/09/22 00:48:32 version 1.234, 2003/09/24 15:58:06
Line 3547  sub responseType { Line 3547  sub responseType {
     my $part = shift;      my $part = shift;
   
     $self->extractParts();      $self->extractParts();
     return $self->{RESPONSE_TYPES}->{$part};      return @{$self->{RESPONSE_TYPES}->{$part}};
 }  }
   
 sub responseIds {  sub responseIds {
Line 3555  sub responseIds { Line 3555  sub responseIds {
     my $part = shift;      my $part = shift;
   
     $self->extractParts();      $self->extractParts();
     return $self->{RESPONSE_IDS}->{$part};      return @{$self->{RESPONSE_IDS}->{$part}};
 }  }
   
 # Private function: Extracts the parts information, both part names and  # Private function: Extracts the parts information, both part names and
Line 3629  sub extractParts { Line 3629  sub extractParts {
                         my @otherChunks = @partChunks[$i+1..$#partChunks];                          my @otherChunks = @partChunks[$i+1..$#partChunks];
                         my $responseId = join('_', @otherChunks);                          my $responseId = join('_', @otherChunks);
                         push @{$responseIdHash{$partIdSoFar}}, $responseId;                          push @{$responseIdHash{$partIdSoFar}}, $responseId;
                         $responseTypeHash{$partIdSoFar} = $responseType;                          push @{$responseTypeHash{$partIdSoFar}}, $responseType;
                         last;  
                     }                      }
                 }                  }
             }              }

Removed from v.1.232  
changed lines
  Added in v.1.234


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>