Ignore:
Timestamp:
04/09/06 03:08:46 (18 years ago)
Author:
nanardon
Message:
  • add ObsData::get_sub_plugin()
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/soft/ObsData/ObsData.pm

    r219 r220  
    150150} 
    151151 
     152=head2 get_sub_plugin 
     153 
     154Return code ref of plugintype for datatype 
     155 
     156=cut 
     157 
     158sub get_sub_plugin { 
     159    my ($self, $datatype, $plugintype) = @_; 
     160    if (exists($self->{plugin}{$datatype}{$plugintype})) { 
     161        return $self->{plugin}{$datatype}{$plugintype}; 
     162    } else { 
     163        return undef; 
     164    } 
     165} 
     166 
    152167=head2 logging($level, $message, ...) 
    153168 
Note: See TracChangeset for help on using the changeset viewer.