Changeset 23116 for main/trunk/greenstone2/perllib/classify/SectionList.pm
- Timestamp:
- 2010-10-12T13:55:07+13:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/classify/SectionList.pm
r18566 r23116 63 63 sub classify { 64 64 my $self = shift (@_); 65 my ($doc_obj, $edit_mode,@options) = @_;65 my ($doc_obj, @options) = @_; 66 66 67 67 # @options used by AZCompactList when is uses SectionList internally … … 97 97 if (defined $thissection) { 98 98 # just classify the one section 99 $self->classify_section($thissection, $doc_obj, $ edit_mode, $sortmeta, $nosort);99 $self->classify_section($thissection, $doc_obj, $sortmeta, $nosort); 100 100 } else 101 101 { 102 102 $thissection = $doc_obj->get_next_section ($doc_obj->get_top_section()); 103 103 while (defined $thissection) { 104 $self->classify_section($thissection, $doc_obj, $ edit_mode, $sortmeta, $nosort);104 $self->classify_section($thissection, $doc_obj, $sortmeta, $nosort); 105 105 $thissection = $doc_obj->get_next_section ($thissection); 106 106 } … … 110 110 sub classify_section { 111 111 my $self = shift (@_); 112 my ($section, $doc_obj, $ edit_mode, $sortmeta, $nosort) = @_;112 my ($section, $doc_obj, $sortmeta, $nosort) = @_; 113 113 114 114 my $doc_OID = $doc_obj->get_OID();
Note:
See TracChangeset
for help on using the changeset viewer.