CI_Form_validation::run()

run([$group = ''])

Parameters:
  • $group (string) – The name of the validation group to run
Returns:

TRUE on success, FALSE if validation failed

Return type:

bool

Runs the validation routines. Returns boolean TRUE on success and FALSE on failure. You can optionally pass the name of the validation group via the method, as described in: Saving Sets of Validation Rules to a Config File

doc_CodeIgniter
2016-10-15 16:31:33
Comments
Leave a Comment

Please login to continue.