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 317 2008-02-16 01:52:33Z ac0v $
- Revision
-
$Revision: 317 $
- Date
-
$Date: 2008-02-16 02:52:33 +0100 (Sat, 16 Feb 2008) $
- HeadURL
-
$HeadURL: http://svn.hyper-framework.org/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.