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


Catalyst-Enzyme documentation  | view source Contained in the Catalyst-Enzyme distribution.

Index


NAME

Top

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

SYNOPSIS

Top

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







DESCRIPTION

Top

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

Top

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

AUTHOR

Top

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

Top

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

NAME

Top

[% class %] - Enzyme CDBI Model Component

SYNOPSIS

Top

See [% app %]

DESCRIPTION

Top

Enzyme CDBI Model Component.

SEE ALSO

Top

[% app %], Catalyst::Enzyme

AUTHOR

Top

[% author %]

LICENSE

Top

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

NAME

Top

[% tableclass %] - CDBI Table Class

SYNOPSIS

Top

See [% app %]

DESCRIPTION

Top

CDBI Table Class with Enzyme CRUD configuration.

ALSO

Top

Catalyst::Enzyme

AUTHOR

Top

[% author %]

LICENSE

Top

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


Catalyst-Enzyme documentation  | view source Contained in the Catalyst-Enzyme distribution.