Changeset 10218 for trunk/gsdl/perllib/plugins/BookPlug.pm
- Timestamp:
- 2005-07-06T15:27:45+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/BookPlug.pm
r8121 r10218 79 79 80 80 sub new { 81 my ($class) = @_; 82 my $self = new BasPlug ("BookPlug", @_); 83 $self->{'plugin_type'} = "BookPlug"; 84 # 14-05-02 To allow for proper inheritance of arguments - John Thompson 85 my $option_list = $self->{'option_list'}; 86 push( @{$option_list}, $options ); 87 81 my ($class) = shift (@_); 82 my ($pluginlist,$inputargs,$hashArgOptLists) = @_; 83 push(@$pluginlist, $class); 84 85 if(defined $arguments){ push(@{$hashArgOptLists->{"ArgList"}},@{$arguments});} 86 if(defined $options) { push(@{$hashArgOptLists->{"OptList"}},$options)}; 87 88 my $self = (defined $hashArgOptLists)? new BasPlug($pluginlist,$inputargs,$hashArgOptLists): new BasPlug($pluginlist,$inputargs); 89 88 90 return bless $self, $class; 89 91 }
Note:
See TracChangeset
for help on using the changeset viewer.