Changeset 2505


Ignore:
Timestamp:
2001-06-07T13:30:00+12:00 (23 years ago)
Author:
dmm9
Message:

added collection of collection document list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/mgbuildproc.pm

    r2336 r2505  
    6767    $self->{'store_text'} = 1;
    6868    $self->{'outhandle'} = $outhandle;
    69 
     69   
     70    #used by browse interface
     71    $self->{'doclist'} = [];
     72   
    7073    $self->{'indexing_text'} = 0;
    7174
     
    177180
    178181    $self->{'store_text'} = $store_text;
     182}
     183
     184sub get_doc_list {
     185    my $self = shift(@_);
     186   
     187    return @{$self->{'doclist'}};
    179188}
    180189
     
    371380    $section = $doc_obj->get_next_section($section);
    372381    }
     382
     383    #add this document to the browse structure
     384    push(@{$self->{'doclist'}},$doc_obj->get_OID())
     385    unless ($doctype eq "classification");
    373386
    374387    # classify this document
Note: See TracChangeset for help on using the changeset viewer.