NAME
OpenFrame::WebApp::Segment::Template - abstract class for getting Templates from the store.
SYNOPSIS
# abstract class - cannot be used directly
use base qw( OpenFrame::WebApp::Segment::Template );
sub dispatch {
...
my $template $self->get_template_from_store;
...
}
DESCRIPTION
The OpenFrame::WebApp::Segment::Template
class provides a method for getting Template objects from the store.
This class inherits its interface from Pipeline::Segment
. You must override dispatch() for it to do anything.
METHODS
- get_template_from_store
-
If the store is a
Pipeline::Store::ISA
, looks for a descendant ofOpenFrame::WebApp::Template
, otherwise looks for known OpenFrame::WebApp::Template->types().
AUTHOR
Steve Purkis <spurkis@epn.nu>
COPYRIGHT
Copyright (c) 2003 Steve Purkis. All rights reserved. Released under the same license as Perl itself.