Parent Directory
|
Revision Log
Revision 5319 - (view) (download) (as text)
| 1 : | sh002i | 806 | ################################################################################ |
| 2 : | sh002i | 1663 | # WeBWorK Online Homework Delivery System |
| 3 : | sh002i | 5319 | # Copyright © 2000-2007 The WeBWorK Project, http://openwebwork.sf.net/ |
| 4 : | # $CVSHeader: webwork2/lib/WeBWorK/DB/Driver/Null.pm,v 1.5 2006/01/25 23:13:54 sh002i Exp $ | ||
| 5 : | sh002i | 1663 | # |
| 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 : | sh002i | 806 | ################################################################################ |
| 16 : | |||
| 17 : | package WeBWorK::DB::Driver::Null; | ||
| 18 : | sh002i | 1167 | use base qw(WeBWorK::DB::Driver); |
| 19 : | sh002i | 806 | |
| 20 : | =head1 NAME | ||
| 21 : | |||
| 22 : | WeBWorK::DB::Driver::Null - a dummy driver. | ||
| 23 : | |||
| 24 : | =cut | ||
| 25 : | |||
| 26 : | use strict; | ||
| 27 : | use warnings; | ||
| 28 : | |||
| 29 : | sh002i | 1167 | use constant STYLE => "null"; |
| 30 : | sh002i | 806 | |
| 31 : | ################################################################################ | ||
| 32 : | # common methods | ||
| 33 : | ################################################################################ | ||
| 34 : | |||
| 35 : | sub connect { return 0; } | ||
| 36 : | sub disconnect { return 0; } | ||
| 37 : | |||
| 38 : | 1; |
| aubreyja at gmail dot com | ViewVC Help |
| Powered by ViewVC 1.0.9 |