function webform_get_submissions in Webform 7.4
Same name and namespace in other branches
- 5.2 webform_submissions.inc \webform_get_submissions()
- 6.3 includes/webform.submissions.inc \webform_get_submissions()
- 6.2 webform_submissions.inc \webform_get_submissions()
- 7.3 includes/webform.submissions.inc \webform_get_submissions()
Return all the submissions for a particular node.
Parameters
$filters: An array of filters to apply to this query. Usually in the format array('nid' => $nid, 'uid' => $uid). A single integer may also be passed in, which will be equivalent to specifying a $nid filter.
$header: If the results of this fetch will be used in a sortable table, pass the array header of the table.
$pager_count: Optional. The number of submissions to include in the results.
Return value
array Array of submission data for a particular node.
10 calls to webform_get_submissions()
- WebformSubmissionTestCase::testWebformSubmission in tests/
WebformSubmissionTestCase.test - Test sending a submission and check database integrity.
- webform_component_delete in includes/
webform.components.inc - Delete a Webform component.
- webform_file_download in ./
webform.module - Implements hook_file_download().
- webform_get_submission in includes/
webform.submissions.inc - Fetch a specified submission for a webform node.
- webform_handler_field_submission_data::pre_render in views/
webform_handler_field_submission_data.inc - Load the node and submissions needed for this components values.
File
- includes/
webform.submissions.inc, line 758 - Submission handling functions.
Code
function webform_get_submissions($filters = array(), $header = NULL, $pager_count = 0) {
return webform_get_submissions_load(webform_get_submissions_query($filters, $header, $pager_count));
}