Ignore:
Timestamp:
2002-11-18T17:43:56+13:00 (21 years ago)
Author:
kjdon
Message:

added John T's changes into CVS - added info to enable retrieval of usage info in xml

File:
1 edited

Legend:

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

    r2925 r3540  
    2424###########################################################################
    2525
    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
    2932
    3033package GAPlug;
     
    3639}
    3740
     41my $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
    3845sub new {
    3946    my $class = shift (@_);
    4047    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 );
    4152
    4253    $self->{'section'} = "";
     
    156167
    1571681;
     169
     170
Note: See TracChangeset for help on using the changeset viewer.