Gets submission values data for the submission, to be used with the field manager.
Description
See also
Return
(array) Submission values data.
Source
File: src/db-objects/submissions/submission.php
protected function get_submission_values_data() { $data = array(); foreach ( $this->get_submission_values() as $submission_value ) { $data[] = array( 'id' => $submission_value->id, 'element_id' => $submission_value->element_id, 'field' => $submission_value->field, 'value' => $submission_value->value, ); } return $data; }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |