| OpenFrame-WebApp documentation | Contained in the OpenFrame-WebApp distribution. |
OpenFrame::WebApp::Segment::Decline::TemplateInStore - decline if Template found in store
# see OpenFrame::WebApp::Segment::Decline
Decline to process this pipe if a registered OpenFrame::WebApp::Template is
found in the store.
Steve Purkis <spurkis@epn.nu>
Copyright (c) 2003 Steve Purkis. All rights reserved. Released under the same license as Perl itself.
| OpenFrame-WebApp documentation | Contained in the OpenFrame-WebApp distribution. |
package OpenFrame::WebApp::Segment::Decline::TemplateInStore; use strict; use warnings::register; use Pipeline::Production; use OpenFrame::WebApp::Error::Abstract; our $VERSION = (split(/ /, '$Revision: 1.1 $'))[1]; use base qw( OpenFrame::WebApp::Segment::Decline OpenFrame::WebApp::Segment::Template ); use constant message => 'declined: template in store'; sub should_decline { my $self = shift; return $self->get_template_from_store ? 1 : 0; } 1; __END__