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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4871 - (download) (as text) (annotate)
Tue Mar 13 15:42:06 2007 UTC (6 years, 2 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/DB/Record/UserSet.pm
File size: 2388 byte(s)
Update Set.pm and UserSet.pm files to reflect more intelligible values
of hide_work and hide_score.

    1 ################################################################################
    2 # WeBWorK Online Homework Delivery System
    3 # Copyright © 2000-2006 The WeBWorK Project, http://openwebwork.sf.net/
    4 # $CVSHeader: webwork2/lib/WeBWorK/DB/Record/UserSet.pm,v 1.16 2007/03/09 21:06:35 glarose 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::Record::UserSet;
   18 use base WeBWorK::DB::Record;
   19 
   20 =head1 NAME
   21 
   22 WeBWorK::DB::Record::UserSet - represent a record from the set_user table.
   23 
   24 =cut
   25 
   26 use strict;
   27 use warnings;
   28 
   29 BEGIN {
   30   __PACKAGE__->_fields(
   31     user_id                   => { type=>"TINYBLOB NOT NULL", key=>1 },
   32     set_id                    => { type=>"TINYBLOB NOT NULL", key=>1 },
   33     psvn                      => { type=>"INT UNIQUE NOT NULL AUTO_INCREMENT" },
   34     set_header                => { type=>"TEXT" },
   35     hardcopy_header           => { type=>"TEXT" },
   36     open_date                 => { type=>"BIGINT" },
   37     due_date                  => { type=>"BIGINT" },
   38     answer_date               => { type=>"BIGINT" },
   39     published                 => { type=>"INT" },
   40     assignment_type           => { type=>"TEXT" },
   41     attempts_per_version      => { type=>"INT" },
   42     time_interval             => { type=>"INT" },
   43     versions_per_interval     => { type=>"INT" },
   44     version_time_limit        => { type=>"INT" },
   45     version_creation_time     => { type=>"BIGINT" },
   46     problem_randorder         => { type=>"INT" },
   47     version_last_attempt_time => { type=>"BIGINT" },
   48     problems_per_page         => { type=>"INT" },
   49                 hide_score                => { type=>"ENUM('N','Y','BeforeAnswerDate')" },
   50                 hide_work                 => { type=>"ENUM('N','Y','BeforeAnswerDate')" },
   51     time_limit_cap            => { type=>"ENUM('0','1')" },
   52   );
   53 }
   54 
   55 1;

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9