encode($str)get_class_name($str)get_relation($relation_id)get_table($table_id)get_primary(@sqls)get_columns(@sqls)
Catalyst::Helper::Model::CRUD - generate sqls, controllers and templates from DBDesigner 4 file
./myapp_create.pl model DBIC CRUD [DBDesigner 4 File] [some modules]
Helper for Catalyst::Plugin::CRUD.
This helper generates sqls, default controllers and default templates.
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.
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.
This method analyse DBDesigner 4 file and generate sqls, controllers and templates.
DBDesigner 4 -- http://fabforce.net/dbdesigner4/index.php
Catalyst::Helper::Model, Catalyst::Plugin::CRUD, XML::Simple
Jun Shimizu, <bayside@cpan.org>
Copyright (C) 2006-2007 by Jun Shimizu
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.2 or, at your option, any later version of Perl 5 you may have available.