NAME
Hyper::Control::Validator::Single - Control for handling single validators.
VERSION
This document describes Hyper::Control::Validator::Single 0.01
SYNOPSIS
use Hyper::Control::Validator::Single;
my $object = Hyper::Control::Validator::Single->new();
DESCRIPTION
Control which offers a template based container for single validators.
ATTRIBUTES
SUBROUTINES/METHODS
add_single_validator
$object->add_single_validator(
Hyper::Validator::Single::Required->new(),
);
Add Single Validators to the control.
get_single_validators
my $validators_ref = $object->get_single_validators();
Get Single Validators which are trailed to the control.
get_first_invalid_validator
my $first_invalid_validator = $object->get_first_invalid_validator();
Get the first invalid validator of this control.
is_valid
my $is_valid = $object->is_valid();
Returns a boolean value which show if all appended validators are valid.
DIAGNOSTICS
CONFIGURATION AND ENVIRONMENT
DEPENDENCIES
version
Hyper::Control::Validator
Class::Std::Storable
List::MoreUtils
Hyper::Singleton::Container::Validator::Single
INCOMPATIBILITIES
BUGS AND LIMITATIONS
RCS INFORMATIONS
- Last changed by
-
$Author: ac0v $
- Id
-
$Id: Single.pm 474 2008-05-29 13:25:22Z ac0v $
- Revision
-
$Revision: 474 $
- Date
-
$Date: 2008-05-29 15:25:22 +0200 (Thu, 29 May 2008) $
- HeadURL
-
$HeadURL: file:///srv/cluster/svn/repos/Hyper/Hyper/trunk/lib/Hyper/Control/Validator/Single.pm $
AUTHOR
Andreas Specht <ACID@cpan.org>
LICENSE AND COPYRIGHT
Copyright (c) 2007, Andreas Specht <ACID@cpan.org>
. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.