Changeset 1086


Ignore:
Timestamp:
2000-04-10T15:14:10+12:00 (24 years ago)
Author:
sjboddie
Message:

Added AZCompactList.pm to distribution (and altered List.pm slightly to
get it working properly). I still intend to merge AZList, AZSectionList,
AZCompactList and possibly List into a single classifier one day ... maybe

Location:
trunk/gsdl/perllib/classify
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/classify/List.pm

    r677 r1086  
    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.