NAME

OpenInteract2::Manage::Website::ListObjects - Task to list all SPOPS objects in a website

SYNOPSIS

#!/usr/bin/perl

use strict;
use OpenInteract2::Manage;

my $website_dir = '/home/httpd/mysite';
my $task = OpenInteract2::Manage->new(
                     'list_objects', { website_dir => $website_dir } );
my @status = $task->execute;
foreach my $s ( @status ) {
    print "Object [[$s->{name}]]\n",
          "Aliases:  ", join( ", ", $s->{alias} ), "\n",
          "Class:    $s->{class}\n",
          "ISA:      ", join( ", ", $s->{isa} ), "\n",
          "Rules:    ", join( ", ", $s->{rule} ), "\n";
}

DESCRIPTION

Task to list all the objects currently known in a website.

STATUS MESSAGES

In addition to the default entries, each status hashref includes:

name

Name of the object (also the first alias)

alias (\@)

All aliases by which this object is known

class

Class used for object

isa (\@)

Contents of the configuration 'isa'

rule (\@)

Contents of the configuration 'rule_from'

BUGS

None known.

TO DO

Nothing known.

COPYRIGHT

Copyright (c) 2002-2003 Chris Winters. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHORS

Chris Winters <chris@cwinters.com>