Rules.php
system/Validation/Rules.php
1 class
20 methods
class Rules
Validation Rules.
differs
($str, string $field, array $data)
equals
($str, string $val)
exact_length
($str, string $val)
greater_than
($str, string $min)
greater_than_equal_to
($str, string $min)
is_not_unique
($str, string $field, array $data)
in_list
($value, string $list)
is_unique
($str, string $field, array $data)
prepareUniqueQuery
($value, string $field, array $data)
less_than
($str, string $max)
less_than_equal_to
($str, string $max)
matches
($str, string $field, array $data)
max_length
($str, string $val)
min_length
($str, string $val)
not_equals
($str, string $val)
not_in_list
($value, string $list)
required
($str = null)
required_with
($str = null, ?string $fields = null, array $data = [])
required_without
($str = null, ?string $otherFields = null, array $data = [], ?string $error = null, ?string $field = null, )
field_exists
($value = null, ?string $param = null, array $data = [], ?string $error = null, ?string $field = null, )