[system] / branches / rel-2-4-patches / webwork2 / lib / WeBWorK / DB / Driver.pm Repository:
ViewVC logotype

View of /branches/rel-2-4-patches/webwork2/lib/WeBWorK/DB/Driver.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5734 - (download) (as text) (annotate)
Tue Jun 24 00:44:59 2008 UTC (4 years, 11 months ago)
File size: 1455 byte(s)
This commit was manufactured by cvs2svn to create branch 'rel-2-4-patches'.

    1 ################################################################################
    2 # WeBWorK Online Homework Delivery System
    3 # Copyright © 2000-2007 The WeBWorK Project, http://openwebwork.sf.net/
    4 # $CVSHeader: webwork2/lib/WeBWorK/DB/Driver.pm,v 1.3 2006/01/25 23:13:54 sh002i Exp $
    5 #
    6 # This program is free software; you can redistribute it and/or modify it under
    7 # the terms of either: (a) the GNU General Public License as published by the
    8 # Free Software Foundation; either version 2, or (at your option) any later
    9 # version, or (b) the "Artistic License" which comes with this package.
   10 #
   11 # This program is distributed in the hope that it will be useful, but WITHOUT
   12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
   13 # FOR A PARTICULAR PURPOSE.  See either the GNU General Public License or the
   14 # Artistic License for more details.
   15 ################################################################################
   16 
   17 package WeBWorK::DB::Driver;
   18 
   19 =head1 NAME
   20 
   21 WeBWorK::DB::Driver - superclass of database driver modules.
   22 
   23 =cut
   24 
   25 use strict;
   26 use warnings;
   27 
   28 ################################################################################
   29 # constructor
   30 ################################################################################
   31 
   32 sub new($$$) {
   33   my ($proto, $source, $params) = @_;
   34   my $class = ref($proto) || $proto;
   35   my $self = {
   36     source => $source,
   37     params => $params,
   38   };
   39   bless $self, $class;
   40   return $self;
   41 }
   42 
   43 1;

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9