[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/webform/components/ -> file.inc (summary)

(no description)

File Size: 642 lines (22 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 23 functions

  _webform_defaults_file()
  _webform_theme_file()
  _webform_edit_file()
  _webform_edit_file_size_validate()
  _webform_edit_file_check_directory()
  _webform_edit_file_extensions_validate()
  theme_webform_edit_file_extensions()
  _webform_render_file()
  theme_webform_render_file()
  _webform_required_file()
  _webform_validate_file()
  _webform_submit_file()
  _webform_display_file()
  theme_webform_display_file()
  _webform_delete_file()
  _webform_analysis_file()
  _webform_table_file()
  _webform_csv_headers_file()
  _webform_csv_data_file()
  webform_file_name()
  webform_file_url()
  webform_get_file()
  _webform_attachments_file()

Functions
Functions that are not part of a class:

_webform_defaults_file()   X-Ref
Implements _webform_defaults_component().


_webform_theme_file()   X-Ref
Implements _webform_theme_component().


_webform_edit_file($component)   X-Ref
Implements _webform_edit_component().


_webform_edit_file_size_validate($element)   X-Ref
A Form API element validate function to check filesize is numeric.


_webform_edit_file_check_directory($element)   X-Ref
A Form API after build and validate function.

Ensure that the destination directory exists and is writable.

_webform_edit_file_extensions_validate($element, &$form_state)   X-Ref
A Form API element validate function.

Change the submitted values of the component so that all filtering extensions
are saved as a single array.

theme_webform_edit_file_extensions($element)   X-Ref
Output the list of allowed extensions as checkboxes.


_webform_render_file($component, $value = NULL, $filter = TRUE)   X-Ref
Implements _webform_render_component().


theme_webform_render_file($element)   X-Ref
Render a File component.


_webform_required_file($element, $form_state)   X-Ref
A Form API element validate function.

Fix Drupal core's handling of required file fields.

_webform_validate_file($element, &$form_state)   X-Ref
A Form API element validate function.

Ensure that the uploaded file matches the specified file types.

_webform_submit_file($component, $value)   X-Ref
Implements _webform_submit_component().


_webform_display_file($component, $value, $format = 'html')   X-Ref
Implements _webform_display_component().


theme_webform_display_file($element)   X-Ref
Format the output of text data for this component


_webform_delete_file($component, $value)   X-Ref
Implements _webform_delete_component().


_webform_analysis_file($component, $sids = array()   X-Ref
Implements _webform_analysis_component().


_webform_table_file($component, $value)   X-Ref
Implements _webform_table_component().


_webform_csv_headers_file($component, $export_options)   X-Ref
Implements _webform_csv_headers_component().


_webform_csv_data_file($component, $export_options, $value)   X-Ref
Implements _webform_csv_data_component().


webform_file_name($filepath)   X-Ref
Helper function to create proper file names for uploaded file.


webform_file_url($filepath)   X-Ref
Helper function to create proper URLs for uploaded file.


webform_get_file($fid)   X-Ref
Helper function to load a file from the database.


_webform_attachments_file($component, $value)   X-Ref
Implements _webform_attachments_component().




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