Christopher H. Laco > Handel-1.00014 > Catalyst::Helper::Controller::Handel::Order

Download:
Handel-1.00014.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

NAME ^

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

SYNOPSIS ^

    script/create.pl controller <newclass> Handel::Order [<modelclass>]
    script/create.pl controller Orders Handel::Order OrderModel

DESCRIPTION ^

A Helper for creating controllers based on Handel::Order objects. If no modelclass is specified, ::M::Orders is assumed.

The modelclass argument tries to do the right thing with the names given to it.

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

    MyApp::M::OrderModel
    MyApp::Model::OrderModel
    OrderModel

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

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

METHODS ^

mk_compclass

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

mk_comptest

Makes a Handel::Order Controller test for you.

SEE ALSO ^

Catalyst::Manual, Catalyst::Helper, Handel::Order

AUTHOR ^

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