NAME

XAO::DO::Context - base class to access site context

SYNOPSIS

package XAO::DO::Blah;
use XAO::Objects;
use base XAO::Objects->load(objname => 'Context');

sub method() {
    my $self=shift;

    my $config=$self->siteconfig;

    my $cgi=$self->cgi;

    my $clipboard=$self->clipboard;
}

DESCRIPTION

This is a convenience base class for accessing site configuration, clipboard, and CGI object.

cgi ()

Convenience shortcut to get CGI object from the site configuration.

clipboard ()

Convenience shortcut to site configuration's clipboard() method.

siteconfig ()

Convenience shortcut to the current site configuration.