Gantry::Utils::Model::Regular - base class for database modelers


Gantry documentation Contained in the Gantry distribution.

Index


Code Index:

NAME

Top

Gantry::Utils::Model::Regular - base class for database modelers

SYNOPSIS

Top

    package Your::App::Name::Model::table_name;

    use base 'Gantry::Utils::Model::Regular';

DESCRIPTION

Top

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).

AUTHOR

Top

Phil Crow <philcrow2000@yahoo.com>

COPYRIGHT and LICENSE

Top


Gantry documentation Contained in the Gantry distribution.

package Gantry::Utils::Model::Regular;
use strict; use warnings;

use base 'Gantry::Utils::Model';

use Gantry::Utils::ModelHelper qw(
    db_Main
    get_form_selections
    retrieve_all_for_main_listing
);

1;