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

Class: BasicValidator

Source Location: /validator/BasicValidator.php

Interface Overview


Basic Validator interface.


Author(s):

Version:

  • $Revision: 521 $

Methods



Class Details

[line 33]
Basic Validator interface.

BasicValidator objects perform validation without any knowledge of column/table context. They are simply given an input and some value and asked whether the input is valid.




Tags:

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


[ Top ]


Class Methods


method isValid [line 44]

mixed isValid( $map, string $str)

Determine whether a value meets the criteria specified



Tags:

return:  TRUE if valid, error message otherwise
access:  public


Parameters:

ValidatorMap   $map   A column map object for the column to be validated.
string   $str   a
  1. String
to be tested

[ Top ]


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