propel-validator
[ class tree: propel-validator ] [ index: propel-validator ] [ all elements ]

Class: MinLengthValidator

Source Location: /validator/MinLengthValidator.php

Class Overview


A validator for minimum string length.


Author(s):

Version:

  • $Revision: 521 $

Implements interfaces:

Methods



Class Details

[line 37]
A validator for minimum string length.

  1.    <column name="password" type="VARCHAR" size="34" required="true" />
  2.  
  3.    <validator column="password">
  4.      <rule name="minLength" value="5" message="Passwort must be at least ${value} characters !/>
  5.    </validator>




Tags:

author:  Michael Aichler <aichler@mediacluster.de>
version:  $Revision: 521 $


[ Top ]


Class Methods


method isValid [line 43]

void isValid( $map, $str)



Tags:

see:  BasicValidator::isValid()
access:  public



Implementation of:
BasicValidator::isValid()
Determine whether a value meets the criteria specified

Parameters:

ValidatorMap   $map  
   $str  

[ Top ]


Documentation generated on Thu, 22 Nov 2007 03:33:44 +0000 by phpDocumentor 1.4.0