NAME

Mango::Catalyst::Checkout::Workflow::State - Workflow state class for the checkout process

SYNOPSIS

sub foo : Local {
    my ($self, $c) = @_;
    my $wi = $self->workflow->new_instance;
    my $t = $wi->get_transition('bar');
    $wi = $t->apply($wi);
    ...
}

DESCRIPTION

Mango::Catalyst::Checkout::Workflow::State provides the workflow state for the checkout process; determining which steps or pages happen in what order.

METHODS

BUILD

Parses the workflow config and creates new workflow/state objects.

short_name

Gets the shortened state name with the _HTTP_METHOD stripped from the end.

SEE ALSO

Class::Workflow

AUTHOR

Christopher H. Laco
CPAN ID: CLACO
claco@chrislaco.com
http://today.icantfocus.com/blog/