lib/Validation/Validators.php
public function validate($field, $model) 
		{

			return $this->_validate($this->getValue($model, $field), $field, $model);

		}
public function validate($field, $model) 
		{

			return $this->_validate($this->getValue($model, $field), $field, $model);

		}
public function validate ( $ field , $ model ) { return $ this -> _validate ( $ this -> getValue ( $ model , $ field ) , $ field , $ model ) ; }
Validate given field and model against this Validator
@param  string 		The fieldname to look for in the model
@param  array|Model  An associative array or a ActiveRecord Model instance
@return string|true 	When validation succeeds true, otherwise the error-key for the validation error.
Validate given field and model against this Validator