Ignore:
Timestamp:
2000-07-13T10:21:53+12:00 (24 years ago)
Author:
sjboddie
Message:

merged changes to trunk into New_Config_Format branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/New_Config_Format-branch/gsdl/perllib/classify/List.pm

    r677 r1279  
    144144sub get_classify_info {
    145145    my $self = shift (@_);
     146    my ($no_thistype) = @_;
     147    $no_thistype = 0 unless defined $no_thistype;
    146148
    147149    my @list = ();
     
    156158
    157159    # organise into classification structure
    158     my %classifyinfo = ('thistype'=>'Invisible',
    159             'childtype'=>'VList',
     160    my %classifyinfo = ('childtype'=>'VList',
    160161            'Title'=>$self->{'title'},
    161162            'contains'=>[]);
     163    $classifyinfo{'thistype'} = 'Invisible' unless $no_thistype;
     164
    162165    foreach $OID (@list) {
    163166    push (@{$classifyinfo{'contains'}}, {'OID'=>$OID});
Note: See TracChangeset for help on using the changeset viewer.