Changeset 6968 for trunk/gsdl/perllib/classify/AZSectionList.pm
- Timestamp:
- 2004-03-08T15:39:43+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/classify/AZSectionList.pm
r6940 r6968 51 51 'reqd' => "yes" }, 52 52 { 'name' => "buttonname", 53 'desc' => "{ AZList.buttonname}",53 'desc' => "{BasClas.buttonname}", 54 54 'type' => "string", 55 55 'deft' => "{BasClas.metadata.deft}", … … 62 62 'args' => $arguments }; 63 63 64 # sub print_usage {65 # print STDERR "66 # usage: classify AZSectionList [options]67 # options:68 69 # -metadata X (required) Metadata field used for classification,70 # list will be sorted by this element.71 72 # -buttonname X (OPTIONAL) Title field for this classification.73 # if not included title field will be Metaname.74 75 # -removeprefix regex A prefix to ignore in the Metadata values76 # for the field when sorting.77 # This is very similar to AZList except it sorts by section level metadata78 # (excluding the top level) instead of just top level metadata.79 # ";80 # }81 64 82 65 sub new { … … 87 70 my $option_list = $self->{'option_list'}; 88 71 push( @{$option_list}, $options ); 72 73 #if ($self->{'info_only'}) { 74 # created from classinfo.pl - don't need to parse the arguments 75 # return bless $self, $class; 76 #} 89 77 90 78 return bless $self, $class;
Note:
See TracChangeset
for help on using the changeset viewer.