Query: validation::class::field
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Validation::Class::Field(3pm) User Contributed Perl Documentation Validation::Class::Field(3pm)NAMEValidation::Class::Field - Field Object for Validation::Class ClassesVERSIONversion 7.70SYNOPSISpackage SomeClass; use Validation::Class; package main; my $class = SomeClass->new; ... my $field = $class->get_field('some_field_name'); $field->apply_filters; $field->validate; # validate this only $field->errors->count; # field-level errors 1;DESCRIPTIONValidation::Class::Field is responsible for field data handling in Validation::Class derived classes, performs functions at the field-level only. This class automatically creates attributes for all acceptable field directives as listed under "DIRECTIVES" in Validation::Class::Prototype.ATTRIBUTESerrors The errors attribute is a Validation::Class::Errors object.METHODSnew my $self = Validation::Class::Field->new({ name => 'some_field_name' });AUTHORAl Newkirk <anewkirk@ana.io>COPYRIGHT AND LICENSEThis software is copyright (c) 2011 by Al Newkirk. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-06-28 Validation::Class::Field(3pm)
Similar Topics in the Unix Linux Community |
---|
Running Total |
Count the repetition of a Field in File |
Combining columns from different files |
Input Validation of comma separated values |
Field delimited data to XML |