validateFields()
method accepts 2 arguments.
- The first argument is an array of your validation rules
- The second argument is the
array
of the fields to validate.- This is where the form fields are coming from which can either be the
$_POST
or$_GET
array. If no value is provided, it defaults to the$_POST
array.
- This is where the form fields are coming from which can either be the
-
status()
method was removed -
All public methods now have better documentation on how to invoke them