* @version $Revision: 1612 $ * @package propel.runtime.validator */ interface BasicValidator { /** * Determine whether a value meets the criteria specified * * @param ValidatorMap $map A column map object for the column to be validated. * @param string $str a String to be tested * * @return mixed TRUE if valid, error message otherwise */ public function isValid(ValidatorMap $map, $str); }