Class which facilitates the use of filters in batches when validate or sanitize data.
- Simplifying the use of extension
- Grouping of filters
- Associated error messages
Public Methods
Class filters
not_empty
min_length
max_length
exact_length
valid_email
Properties
multipleFieldErrors
: Indicates whether or not to continue applying the filters over a field when the first one fails. Default FALSE
.
Examples
One:
Two:
Try me!
View on GitHub
— May 09, 2013
comments powered by