[system] / trunk / webwork2 / lib / WeBWorK / DB / Record / Problem.pm Repository:
ViewVC logotype

Annotation of /trunk/webwork2/lib/WeBWorK/DB/Record/Problem.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3209 - (view) (download) (as text)

1 : sh002i 783 ################################################################################
2 : sh002i 1663 # WeBWorK Online Homework Delivery System
3 :     # Copyright 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/
4 : jj 3209 # $CVSHeader: webwork-modperl/lib/WeBWorK/DB/Record/Problem.pm,v 1.5 2003/12/09 01:12:32 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 783 ################################################################################
16 :    
17 :     package WeBWorK::DB::Record::Problem;
18 :     use base WeBWorK::DB::Record;
19 :    
20 :     =head1 NAME
21 :    
22 :     WeBWorK::DB::Record::Problem - represent a record from the problem table.
23 :    
24 :     =cut
25 :    
26 :     use strict;
27 :     use warnings;
28 :    
29 : sh002i 1207 sub KEYFIELDS {qw(
30 : sh002i 838 set_id
31 : sh002i 919 problem_id
32 : sh002i 838 )}
33 :    
34 : sh002i 1207 sub NONKEYFIELDS {qw(
35 :     source_file
36 :     value
37 :     max_attempts
38 :     )}
39 :    
40 :     sub FIELDS {qw(
41 : sh002i 783 set_id
42 : sh002i 919 problem_id
43 : sh002i 783 source_file
44 :     value
45 :     max_attempts
46 :     )}
47 :    
48 : jj 3209 sub SQL_TYPES {qw(
49 :     BLOB
50 :     INT
51 :     TEXT
52 :     INT
53 :     INT
54 :     )}
55 :    
56 : sh002i 783 1;

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9