Ignore:
Timestamp:
2005-07-06T15:27:45+12:00 (19 years ago)
Author:
kjdon
Message:

Jeffrey's new parsing modifications, committed approx 6 July, 15.16

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/BibTexPlug.pm

    r9582 r10218  
    8181}
    8282sub new {
    83     my $class = shift (@_);
    84     my $self = new SplitPlug ($class, @_);
    85     $self->{'plugin_type'} = "BibTexPlug";
    86     # 14-05-02 To allow for proper inheritance of arguments - John Thompson
    87     my $option_list = $self->{'option_list'};
    88     push( @{$option_list}, $options );
     83    my ($class) = shift (@_);
     84    my ($pluginlist,$inputargs,$hashArgOptLists) = @_;
     85    push(@$pluginlist, $class);
     86
     87    if(defined $arguments){ push(@{$hashArgOptLists->{"ArgList"}},@{$arguments});}
     88    if(defined $options) { push(@{$hashArgOptLists->{"OptList"}},$options)};
     89
     90    my $self = (defined $hashArgOptLists)? new SplitPlug($pluginlist,$inputargs,$hashArgOptLists): new SplitPlug($pluginlist,$inputargs);
     91
    8992    return bless $self, $class;
    9093}
Note: See TracChangeset for help on using the changeset viewer.