Mango::Catalyst::Checkout::Workflow::State - Workflow state class for the checkout process
sub foo : Local { my ($self, $c) = @_; my $wi = $self->workflow->new_instance; my $t = $wi->get_transition('bar'); $wi = $t->apply($wi); ... }
Mango::Catalyst::Checkout::Workflow::State provides the workflow state for the checkout process; determining which steps or pages happen in what order.
Parses the workflow config and creates new workflow/state objects.
Gets the shortened state name with the _HTTP_METHOD stripped from the end.
Class::Workflow
Christopher H. Laco CPAN ID: CLACO claco@chrislaco.com http://today.icantfocus.com/blog/
To install Mango, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mango
CPAN shell
perl -MCPAN -e shell install Mango
For more information on module installation, please visit the detailed CPAN module installation guide.