[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/webform/includes/ -> webform.submissions.inc (summary)

(no description)

Author: Nathan Haug <nate@lullabot.com>
File Size: 873 lines (31 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 23 functions

  webform_submission_data()
  webform_submission_update()
  webform_submission_insert()
  webform_submission_delete()
  webform_submission_send_mail()
  webform_submission_delete_form()
  webform_submission_delete_form_submit()
  webform_submission_title()
  webform_submission_page()
  webform_submission_resend()
  webform_submission_resend_validate()
  webform_submission_resend_submit()
  theme_webform_submission_resend()
  webform_submission_render()
  webform_get_submissions()
  webform_get_submission_count()
  webform_get_submission()
  _webform_submission_spam_check()
  _webform_submission_user_limit_check()
  _webform_submission_total_limit_check()
  template_preprocess_webform_submission()
  template_preprocess_webform_submission_navigation()
  template_preprocess_webform_submission_information()

Functions
Functions that are not part of a class:

webform_submission_data($node, $submitted)   X-Ref
Given an array of submitted values, flatten it into data for a submission.

param: $node
param: $submitted
return:

webform_submission_update($node, $submission)   X-Ref
Update a webform submission entry in the database.

param: $node
param: $submission
return:

webform_submission_insert($node, $submission)   X-Ref
Insert a webform submission entry in the database.

param: $node
param: $submission
return:

webform_submission_delete($node, $submission)   X-Ref
Delete a single submission.

param: $nid
param: $sid

webform_submission_send_mail($node, $submission, $emails = NULL)   X-Ref
Send related e-mails related to a submission.

This function is usually invoked when a submission is completed, but may be
called any time e-mails should be redelivered.

param: $node
param: $submission
param: $emails

webform_submission_delete_form($form_state, $node, $submission)   X-Ref
Confirm form to delete a single form submission.

param: $form_state
param: $node
param: $submission

webform_submission_delete_form_submit($form, &$form_state)   X-Ref
No description

webform_submission_title($node, $submission)   X-Ref
Menu title callback; Return the submission number as a title.


webform_submission_page($node, $submission, $format)   X-Ref
Menu callback; Present a Webform submission page for display or editing.


webform_submission_resend($form_state, $node, $submission)   X-Ref
Form to resend specific e-mails associated with a submission.


webform_submission_resend_validate($form, &$form_state)   X-Ref
Validate handler for webform_submission_resend().


webform_submission_resend_submit($form, &$form_state)   X-Ref
Submit handler for webform_submission_resend().


theme_webform_submission_resend($form)   X-Ref
Theme the node components form. Use a table to organize the components.

param: $form
return:

webform_submission_render($node, $submission, $email, $format)   X-Ref
Print a Webform submission for display on a page or in an e-mail.


webform_get_submissions($filters = array()   X-Ref
Return all the submissions for a particular node.

param: $filters
param: $header
param: $pager_count

webform_get_submission_count($nid, $uid = NULL, $reset = FALSE)   X-Ref
Return a count of the total number of submissions for a node.

param: $nid
param: $uid
return:

webform_get_submission($nid, $sid, $reset = FALSE)   X-Ref
Fetch a specified submission for a webform node.


_webform_submission_spam_check($to, $subject, $from, $headers = array()   X-Ref
No description

_webform_submission_user_limit_check($node)   X-Ref
Check if the current user has exceeded the limit on this form.

param: $node
return:

_webform_submission_total_limit_check($node)   X-Ref
Check if the total number of submissions has exceeded the limit on this form.

param: $node
return:

template_preprocess_webform_submission(&$vars)   X-Ref
Preprocess function for webform-submission.tpl.php.


template_preprocess_webform_submission_navigation(&$vars)   X-Ref
Preprocess function for webform-submission-navigation.tpl.php.


template_preprocess_webform_submission_information(&$vars)   X-Ref
Preprocess function for webform-submission-navigation.tpl.php.




Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7