Changeset 10218 for trunk/gsdl/perllib/plugins/METSPlug.pm
- Timestamp:
- 2005-07-06T15:27:45+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/METSPlug.pm
r9468 r10218 40 40 41 41 sub BEGIN { 42 @ ISA = ('XMLPlug');42 @METSPlug::ISA = ('XMLPlug'); 43 43 } 44 44 … … 56 56 57 57 sub new { 58 my $class = shift (@_); 59 my $self = new XMLPlug ($class, @_); 60 61 # 14-05-02 To allow for proper inheritance of arguments - John Thompson 62 my $option_list = $self->{'option_list'}; 63 push( @{$option_list}, $options ); 58 my ($class) = shift (@_); 59 my ($pluginlist,$inputargs,$hashArgOptLists) = @_; 60 push(@$pluginlist, $class); 61 62 if(defined $arguments){ push(@{$hashArgOptLists->{"ArgList"}},@{$arguments});} 63 if(defined $options) { push(@{$hashArgOptLists->{"OptList"}},$options)}; 64 65 my $self = (defined $hashArgOptLists)? new XMLPlug($pluginlist,$inputargs,$hashArgOptLists): new XMLPlug($pluginlist,$inputargs); 64 66 65 67 $self->{'section'} = "";
Note:
See TracChangeset
for help on using the changeset viewer.