| Handel documentation | view source | Contained in the Handel distribution. |
Handel::Schema - Base class for cart/order schemas
package MySchema;
use strict;
use warnings;
use base qw/Handel::Schema/;
__PACKAGE__->load_classes(qw//, {'MySchema' => [qw/TableClass OtherTableClass/]});
Handel::Schema is the base class for the cart/order schemas. If you want to create your own cart or order schema, simply subclass Handel::Schema and load your classes.
Establishes a connection to the database and returns a new schema instance. If
no connection information is supplied, the connection information will be read
from ENV or ModPerl using the configuration options available in the
specified config_class. By default, this will be
Handel::ConfigReader.
Christopher H. Laco
CPAN ID: CLACO
claco@chrislaco.com
http://today.icantfocus.com/blog/
| Handel documentation | view source | Contained in the Handel distribution. |