{"extended":{"hasExtended":true,"docs":"
// Do not allow "PHP" or "Fortran" to be saved to the database as a cool language\nvalidatesExclusionOf(property="coolLanguage", list="php,fortran", message="Haha, you can not be serious. Try again, please.");"},"hint":"Validates that the value of the specified property does not exist in the supplied list.","returntype":"","slug":"validatesexclusionof","parameters":[{"default":"","required":"true","hint":"See documentation for validatesConfirmationOf.","name":"properties","type":"string"},{"default":"","required":"true","hint":"Single value or list of values that should not be allowed.","name":"list","type":"string"},{"default":"[property] is reserved","required":"false","hint":"See documentation for validatesConfirmationOf.","name":"message","type":"string"},{"default":"onSave","required":"false","hint":"See documentation for validatesConfirmationOf.","name":"when","type":"string"},{"default":"false","required":"false","hint":"If set to true, validation will be skipped if the property value is an empty string or doesn't exist at all. This is useful if you only want to run this validation after it passes the validatesPresenceOf test, thus avoiding duplicate error messages if it doesn't.","name":"allowBlank","type":"boolean"},{"default":"","required":"false","hint":"See documentation for validatesConfirmationOf.","name":"condition","type":"string"},{"default":"","required":"false","hint":"See documentation for validatesConfirmationOf.","name":"unless","type":"string"}],"name":"validatesExclusionOf","availableIn":{},"tags":{"categoryClass":"","sectionClass":"","category":"","section":""}}