Gantry::Utils::Model::Regular - base class for database modelers
package Your::App::Name::Model::table_name; use base 'Gantry::Utils::Model::Regular';
Use this as the parent class of your individual model module when that model needs to use the regular database connection. Follow the instructions in Gantry::Utils::Model for what your subclass must implement (and it is a lot, we usually generate the module with Bigtop).
Phil Crow <philcrow2000@yahoo.com>
Copyright (c) 2006, Phil Crow
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.
To install Gantry, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gantry
CPAN shell
perl -MCPAN -e shell install Gantry
For more information on module installation, please visit the detailed CPAN module installation guide.