Changeset 3540 for trunk/gsdl/perllib/plugins/GAPlug.pm
- Timestamp:
- 2002-11-18T17:43:56+13:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/GAPlug.pm
r2925 r3540 24 24 ########################################################################### 25 25 26 # Processes Greenstone Archive XML documents. Note that this plugin does no 27 # syntax checking (though the XML::Parser module tests for well-formedness). 28 # It's assumed that the Archive files conform to their DTD. 26 # Processes GreenstoneArchive XML documents. Note that this plugin does no 27 # syntax checking (though the XML::Parser module tests for 28 # well-formedness). It's assumed that the GreenstoneArchive files conform 29 # to their DTD. 30 31 # 12/05/02 Added usage datastructure - John Thompson 29 32 30 33 package GAPlug; … … 36 39 } 37 40 41 my $options = { 'name' => "GAPlug", 42 'desc' => "Processes GreenstoneArchive XML documents. Note that this plugin does no syntax checking (though the XML::Parser module tests for well-formedness). It's assumed that the GreenstoneArchive files conform to their DTD.", 43 'inherits' => "yes" }; 44 38 45 sub new { 39 46 my $class = shift (@_); 40 47 my $self = new XMLPlug ($class, @_); 48 49 # 14-05-02 To allow for proper inheritance of arguments - John Thompson 50 my $option_list = $self->{'option_list'}; 51 push( @{$option_list}, $options ); 41 52 42 53 $self->{'section'} = ""; … … 156 167 157 168 1; 169 170
Note:
See TracChangeset
for help on using the changeset viewer.