Catalyst::Helper::Model::CRUD - generate sqls, controllers and templates from DBDesigner 4 file


Catalyst-Plugin-CRUD documentation  | view source Contained in the Catalyst-Plugin-CRUD distribution.

Index


NAME

Top

Catalyst::Helper::Model::CRUD - generate sqls, controllers and templates from DBDesigner 4 file

SYNOPSIS

Top

    ./myapp_create.pl model DBIC CRUD [DBDesigner 4 File] [some modules]

DESCRIPTION

Top

Helper for Catalyst::Plugin::CRUD.

This helper generates sqls, default controllers and default templates.

METHODS

Top

encode($str)

This method translates comment of DBDesigner4 to UTF-8.

get_class_name($str)

This method translates hoge_fuga_master to HogeFugaMaster.

get_relation($relation_id)

This method returns relation of appointed ID.

get_table($table_id)

This methods returns table of appointed ID.

get_setting_index($array, $name)

This method returns setting number of appointed name.

get_primary(@sqls)

This method returns primary key name.

get_columns(@sqls)

This method returns columns string.

mk_compclass($helper, $file, @limited_file)

This method analyse DBDesigner 4 file and generate sqls, controllers and templates.

SEE ALSO

Top

DBDesigner 4 -- http://fabforce.net/dbdesigner4/index.php

Catalyst::Helper::Model, Catalyst::Plugin::CRUD, XML::Simple

AUTHOR

Top

Jun Shimizu, <bayside@cpan.org>

COPYRIGHT AND LICENSE

Top


Catalyst-Plugin-CRUD documentation  | view source Contained in the Catalyst-Plugin-CRUD distribution.