primary key
-=item condition
+=item conditionname
condition
rulenum
-
=back
=head1 METHODS
my $error =
$self->ut_numbern('ruleconditionnum')
- || $self->ut_text('condition')
- || $self->ut_text('op')
- || $self->ut_text('params')
+ || $self->ut_text('conditionname')
+ || $self->ut_textn('op')
+ || $self->ut_textn('params')
|| $self->ut_foreign_key('rulenum', 'cgp_rule', 'rulenum')
;
return $error if $error;
$self->SUPER::check;
}
+=item arrayref
+
+Returns an array reference of the conditionname, op and params fields.
+
+=cut
+
+sub arrayref {
+ my $self = shift;
+ [ map $self->$_, qw( conditionname op params ) ];
+}
+
=back
=head1 BUGS