setErrorColumnName() setErrorColumnName(string $errorColumnName) Sets the column name on which the validation error should be added Parameters string $errorColumnName
getErrorColumnName() getErrorColumnName() : null|string Gets the column name on which the validation error should be added Returns null|string
isValid() isValid(string $value) : boolean Is valid (always returns true because this validator works only on record) Parameters string $value Returns boolean
setTranslationKey() setTranslationKey(string $errorCode, string $key) Sets translations key for error code Parameters string $errorCode string $key
__construct() __construct(string $columnName, boolean $allowEmptyOrNull = false) Constructor Parameters string $columnName boolean $allowEmptyOrNull
isRecordValid() isRecordValid(\Fuman_Db_Record $record) : boolean Is record valid Parameters \Fuman_Db_Record $record Returns boolean