NAME

Apache::Wyrd::Site::WidgetIndex - Wrapper class to support Widget Class

SYNOPSIS

package BASENAME::WidgetIndex;
use strict;
use base qw(Apache::Wyrd::Site::WidgetIndex);
use Apache::Wyrd::Services::Index;

sub new {
    my ($class) = @_;
    my $init = {
        file => '/var/www/indexes/widgetindex.db'
    };
    return Apache::Wyrd::Services::Index::new($class, $init);
}

1;

DESCRIPTION

Provides a simple Apache::Wyrd::Services::Index object for storing metadata on Apache::Wyrd::Site::Widget objects. Please see Apache::Wyrd::Site::Widget for why you might need one.

BUGS/CAVEATS

Not the most efficient way to store Widget information, but quick to implement.

AUTHOR

Barry King <wyrd@nospam.wyrdwright.com>

SEE ALSO

Apache::Wyrd

General-purpose HTML-embeddable perl object

Apache::Wyrd::Site::Widget

Base object for Widgets - semi-independent objects which enrich the content of a page

LICENSE

Copyright 2002-2005 Wyrdwright, Inc. and licensed under the GNU GPL.

See LICENSE under the documentation for Apache::Wyrd.