Catalyst::Helper::Controller::Handel::Checkout - Helper for Handel::Checkout Controllers


Handel documentation  | view source Contained in the Handel distribution.

Index


NAME

Top

Catalyst::Helper::Controller::Handel::Checkout - Helper for Handel::Checkout Controllers

SYNOPSIS

Top

    script/create.pl controller <newclass> Handel::Checkout [<cartmodel> <ordermodel> <cartcontroller> <ordercontroller>]
    script/create.pl controller Checkout Handel::Checkout

DESCRIPTION

Top

A Helper for creating controllers based on Handel::Checkout objects. IF no cartmodel or ordermodel was specified, ::M::Cart and ::M::Orders is assumed.

The cartmode, ordermodel, cartcontroller and ordercontroller arguments try to do the right thing with the names given to them.

For example, you can pass the shortened class name without the MyApp::M/C, or pass the fully qualified package name:

    MyApp::M::CartModel
    MyApp::Model::CartModel
    CartModel

In all three cases everything before M{odel)|C(ontroller) will be stripped and the class CartModel will be used.

The code generated by this helper requires FormValidator::Simple, HTML::FIllInForm and YAML to be installed to operate.

METHODS

Top

mk_compclass

Makes a Handel::Checkout Controller class and template files for you.

mk_comptest

Makes a Handel::Checkout Controller test for you.

SEE ALSO

Top

Catalyst::Manual, Catalyst::Helper, Handel::Checkout

AUTHOR

Top

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


Handel documentation  | view source Contained in the Handel distribution.