X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fqueue_arg.pm;h=09c01668a432e8335183e7b12e3b1c13eca3145f;hp=d23ee2afdda31960e11b0fe0396d368f71390bd8;hb=HEAD;hpb=2041a9143fac20b79ead4a1ae01224dedf5b27c2 diff --git a/FS/FS/queue_arg.pm b/FS/FS/queue_arg.pm index d23ee2afd..09c01668a 100644 --- a/FS/FS/queue_arg.pm +++ b/FS/FS/queue_arg.pm @@ -1,10 +1,7 @@ package FS::queue_arg; +use base qw(FS::Record); use strict; -use vars qw( @ISA ); -use FS::Record qw( qsearch qsearchs ); - -@ISA = qw(FS::Record); =head1 NAME @@ -36,6 +33,8 @@ FS::Record. The following fields are currently supported: =item jobnum - see L +=item frozen - argument is frozen with Storable + =item arg - argument =back @@ -46,7 +45,7 @@ FS::Record. The following fields are currently supported: =item new HASHREF -Creates a new argument. To add the example to the database, see L<"insert">. +Creates a new argument. To add the argument to the database, see L<"insert">. Note that this stores the hash reference, not a distinct copy of the hash it points to. You can ask the object for a copy with the I method. @@ -96,6 +95,7 @@ sub check { my $error = $self->ut_numbern('argnum') || $self->ut_numbern('jobnum') + || $self->ut_enum('frozen', [ '', 'Y' ]) || $self->ut_anything('arg') ; return $error if $error; @@ -105,10 +105,6 @@ sub check { =back -=head1 VERSION - -$Id: queue_arg.pm,v 1.2 2003-08-05 00:20:46 khoff Exp $ - =head1 BUGS =head1 SEE ALSO