. */ /** * 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. * * @author Michael Aichler * @version $Revision: 536 $ * @package propel.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); }