Changeset 10218 for trunk/gsdl/perllib/plugins/IndexPlug.pm
- Timestamp:
- 2005-07-06T15:27:45+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/IndexPlug.pm
r9853 r10218 70 70 71 71 sub new { 72 my ($class) = @_; 73 my $self = new BasPlug ("IndexPlug", @_); 74 # 14-05-02 To allow for proper inheritance of arguments - John Thompson 75 my $option_list = $self->{'option_list'}; 76 push( @{$option_list}, $options ); 72 my ($class) = shift (@_); 73 my ($pluginlist,$inputargs,$hashArgOptLists) = @_; 74 push(@$pluginlist, $class); 75 76 if(defined $arguments){ push(@{$hashArgOptLists->{"ArgList"}},@{$arguments});} 77 if(defined $options) { push(@{$hashArgOptLists->{"OptList"}},$options)}; 78 79 my $self = (defined $hashArgOptLists)? new BasPlug($pluginlist,$inputargs,$hashArgOptLists): new BasPlug($pluginlist,$inputargs); 77 80 78 81 return bless $self, $class;
Note:
See TracChangeset
for help on using the changeset viewer.