Initial version of the xmlrpc interface for freeside.
[freeside.git] / eg / table_template.pm
index 2cc1e1d..5da6f3b 100644 (file)
@@ -93,15 +93,17 @@ and replace methods.
 sub check {
   my $self = shift;
 
-  ''; #no error
+  my $error = 
+    $self->ut_numbern('primary_key')
+    || $self->ut_number('validate_other_fields')
+  ;
+  return $error if $error;
+
+  $self->SUPER::check;
 }
 
 =back
 
-=head1 VERSION
-
-$Id: table_template.pm,v 1.2 2000-10-27 20:15:50 ivan Exp $
-
 =head1 BUGS
 
 The author forgot to customize this manpage.