Changeset 10621
- Timestamp:
- 2005-09-22T17:04:58+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/classify/Hierarchy.pm
r10253 r10621 53 53 'desc' => "{Hierarchy.suppresslastlevel}", 54 54 'type' => "flag", 55 'reqd' => "no" } ]; 55 'reqd' => "no" }, 56 { 'name' => "suppressfirstlevel", 57 'desc' => "{Hierarchy.suppressfirstlevel}", 58 'type' => "flag", 59 'reqd' => "no" } 60 ]; 56 61 57 62 my $options = { 'name' => "Hierarchy", … … 95 100 if ($self->{'suppresslastlevel'}) { 96 101 pop(@chunks); # remove the last element from the end 102 } 103 if ($self->{'suppressfirstlevel'}) { 104 shift(@chunks); 97 105 } 98 106 foreach my $folderName (@chunks)
Note:
See TracChangeset
for help on using the changeset viewer.