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/RTFPlug.pm

    r9465 r10218  
    4949
    5050sub new {
    51     my $class = shift (@_);
    52     my $self = new ConvertToPlug ($class, @_);
    53     $self->{'plugin_type'}="RTFPlug";
    54     # 14-05-02 To allow for proper inheritance of arguments - John Thompson
    55     my $option_list = $self->{'option_list'};
    56     push( @{$option_list}, $options );
     51    my ($class) = shift (@_);
     52    my ($pluginlist,$inputargs,$hashArgOptLists) = @_;
     53    push(@$pluginlist, $class);
     54
     55    if(defined $arguments){ push(@{$hashArgOptLists->{"ArgList"}},@{$arguments});}
     56    if(defined $options) { push(@{$hashArgOptLists->{"OptList"}},$options)};
     57
     58    my $self = (defined $hashArgOptLists)? new ConvertToPlug($pluginlist,$inputargs,$hashArgOptLists): new ConvertToPlug($pluginlist,$inputargs);
    5759
    5860    return bless $self, $class;
Note: See TracChangeset for help on using the changeset viewer.