CI_Form_validation::set_data()

set_data($data)

Parameters:
  • $data (array) – Array of data validate
Returns:

CI_Form_validation instance (method chaining)

Return type:

CI_Form_validation

Permits you to set an array for validation, instead of using the default $_POST array.

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

Please login to continue.