Johan Lindström > Catalyst-Enzyme > Catalyst::Helper::Model::Enzyme::CDBI

Download:
Catalyst-Enzyme-0.11.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  7
Open  2
View/Report Bugs
Module Version: 0.10   Source  

NAME ^

Catalyst::Helper::Model::Enzyme::CDBI - Helper for Catalyst::Enzyme CDBI Models

SYNOPSIS ^

    script/create.pl model CDBI Enzyme::CDBI dsn user password

DESCRIPTION ^

Helper for Enzyme::Model::CDBI Model.

METHODS

mk_compclass

Reads the database and makes a main model class as well as placeholders for each table.

mk_comptest

Makes tests for the CDBI Model.

default_columns($pkg)

Return array with the default column names suitable for an object in model $pkg.

This is all column names, except PK columns.

default_main_column($pkg)

Return name of the probable main column for Model $pkg.

Default: name or title or something "name*" or "*name" or "*name*" or MAIN_COLUMN.

SEE ALSO ^

Catalyst::Enzyme, Catalyst::Test, Catalyst::Helper, Catalyst::Helper::Model::CDBI

AUTHOR ^

Johan Lindstrom <johanl ÄT DarSerMan.com>

I stole the _entire_ Catalyst::Helper::Model::CDBI since the Catalyst::Helper currently doesn't allow me to override only the template contents and I wanted to get this out the door. I'd like to subclass it though, that would be nice.

LICENSE ^

This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.

NAME ^

[% class %] - Enzyme CDBI Model Component

SYNOPSIS ^

See "[% app %]"

DESCRIPTION ^

Enzyme CDBI Model Component.

SEE ALSO ^

"[% app %]", Catalyst::Enzyme

AUTHOR ^

[% author %]

LICENSE ^

This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.

NAME ^

[% tableclass %] - CDBI Table Class

SYNOPSIS ^

See "[% app %]"

DESCRIPTION ^

CDBI Table Class with Enzyme CRUD configuration.

ALSO ^

Catalyst::Enzyme

AUTHOR ^

[% author %]

LICENSE ^

This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.

syntax highlighting: