Ignore:
Timestamp:
2004-03-08T15:39:43+13:00 (20 years ago)
Author:
kjdon
Message:

all classifiers now use BasClas.buttonname for their buttonname option description.
removed the old print_usage methods and old usage notes.
added in a test for $self->{'info_only'} in new(): if this is set, don't try and parse the arguments cos we are only running classinfo.pl.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/classify/List.pm

    r6957 r6968  
    4242    'reqd' => "no" },
    4343      { 'name' => "buttonname",
    44     'desc' => "{List.buttonname}",
     44    'desc' => "{BasClas.buttonname}",
    4545    'type' => "string",
    4646    'deft' => "{BasClas.metadata.deft}",
     
    6666    my $option_list = $self->{'option_list'};
    6767    push( @{$option_list}, $options );
     68
     69    if ($self->{'info_only'}) {
     70    # created from classinfo.pl - don't need to parse the arguments
     71    return bless $self, $class;
     72    }
    6873
    6974    my ($metadata, $title, $sortname, $list);
Note: See TracChangeset for help on using the changeset viewer.