Rules
Table of Contents
Classes
- AllInSetRule
- Checks all selected values belong to a database SET definition.
- AllInTableRule
- Checks all selected values match IDs in a corresponding table.
- BaseModelRule
- A base helper class for rules.
- InEnumRule
- Validates a value meant for an ENUM field
- InTableRule
- Checks a value matches an ID in a corresponding table.
- PasswordRule
- Validate password by length, type of characters, and list of common passwords
- UniqueValueRule
- Checks that a unique value doesn't already exist in the database, e.g. a username or email address.