function webform_download_sids_count in Webform 7.4
Retrieves a count the number of matching submissions.
Return value
int The number number of matching submissions.
3 calls to webform_download_sids_count()
- webform_results_batch_rows in includes/
webform.report.inc - Batch API callback; Write the rows of the export to the export file.
- webform_results_download_range_after_build in includes/
webform.report.inc - FormAPI after build function for the download range fieldset.
- webform_results_download_range_validate in includes/
webform.report.inc - FormAPI element validate function for the range fieldset.
File
- includes/
webform.report.inc, line 1953 - This file includes helper functions for creating reports for webform.module.
Code
function webform_download_sids_count($nid, $range_options, $uid = NULL) {
return (int) webform_download_sids_query($nid, $range_options, $uid)
->countQuery()
->execute()
->fetchField();
}