|
NAME[% app_name %]::Model - schema class for [% app_name +%]SYNOPSISIn your base module:use [% app_name %]::Model; sub schema_base_class { return '[% app_name %]::Model'; } use Gantry::Plugins::DBIxClassConn qw( get_schema ); [%- FOREACH table_model IN table_models -%] use [% app_name %]::Model::[% table_model %] qw( $[% table_model | upper %] ); [%- END -%] DESCRIPTIONThis module was generated by Bigtop. But, feel free to edit it. You might even want to update these docs.
DEPENDENCIESGantry::Utils::DBIxClass [% app_name %]::GENModel AUTHOR[% FOREACH author IN authors %] [% author.0 %][% IF author.1 %], <[% author.1 %]>[% END %][% END %] COPYRIGHT AND LICENSECopyright (C) [% year %] [% copyright_holder %][% IF license_text %] [% ELSE %] 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.6 or, at your option, any later version of Perl 5 you may have available. [% END %] NAME[% app_name %]::GENModel - regenerating schema for [% app_name %]SYNOPSISIn your base schema:use base 'DBIx::Class::Schema'; use [% app_name %]::GENModel; DESCRIPTIONThis module was generated by Bigtop (and IS subject to regeneration).DEPENDENCIESGantry::Utils::DBIxClass AUTHOR[% FOREACH author IN authors %] [% author.0 %][% IF author.1 %], <[% author.1 %]>[% END %][% END %] COPYRIGHT AND LICENSECopyright (C) [% year %] [% copyright_holder %][% IF license_text %] [% ELSE %] 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.6 or, at your option, any later version of Perl 5 you may have available. [% END %] NAME[% package_name %] - model for [% table_name %] table (stub part)DESCRIPTIONThis model inherits from its generated helper, which inherits from [% base_class || base_class_default %]. It was generated by Bigtop, but is NOT subject to regeneration.METHODS (mixed in from [% gen_package_name %])You may use all normal [% base_class || base_class_default %] methods and the ones listed here:
NAME[% gen_package_name %] - model for [% table_name %] table (generated part)DESCRIPTIONThis model inherits from [% base_class || base_class_default %]. It was generated by Bigtop, and IS subject to regeneration.METHODSYou may use all normal [% base_class || base_class_default %] methods and the ones listed here:
NAME[% stub_package %] - model for [% table_name %] table (stub part)DESCRIPTIONThis model inherits from its generated helper, which inherits from Gantry::Utils::DBIxClass. It was generated by Bigtop, but is NOT subject to regeneration.NAME[% gen_package %] - model for [% table_name %] table (generated part)DESCRIPTIONThis model inherits from Gantry::Utils::DBIxClass. It was generated by Bigtop, and IS subject to regeneration.METHODSYou may use all normal Gantry::Utils::DBIxClass methods and the ones listed here:
NAMEBigtop::Backend::Model::GantryDBIxClass - Bigtop backend generating DBIx::Class modelsSYNOPSISIf your bigtop file looks like this:config { base_dir `/home/user`; ... Model GantryDBIxClass {} } app Name {...} and there are tables in the app block, when you type: bigtop your.bigtop Model or bigtop your.bigtop all this module will make model modules which are subclasses of Gantry::Utils::DBIxClass (which inherits from DBIx::Class). All modules will live in the lib subdirectory of the app's build directory. See Bigtop::Init::Std for an explanation of how base_dir and the build directory are related. DESCRIPTIONThis is a Bigtop backend which generates data model modules which are subclasses of Gantry::Utils::DBIxClass.KEYWORDSThis module does not register any keywords. See Bigtop::Model for a list of keywords models understand.The default for the model_base_class keyword is Gantry::Utils::DBIxClass. METHODSTo keep podcoverage tests happy.
AUTHORPhil Crow <crow.phil@gmail.com>COPYRIGHT and LICENSECopyright (C) 2005 by Phil CrowThis library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.
Visit the GSP FreeBSD Man Page Interface. |