[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/filefield_sources/ -> filefield_sources.module (summary)

(no description)

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

Defines 21 functions

  filefield_sources_menu()
  filefield_sources_init()
  filefield_sources_elements()
  filefield_sources_theme()
  filefield_sources_filefield_sources_widgets()
  filefield_sources_widget_settings_alter()
  filefield_sources_widget_settings()
  filefield_sources_form()
  filefield_sources_process()
  filefield_sources_validate()
  filefield_sources_value()
  filefield_sources_invoke_all()
  filefield_sources_info()
  filefield_sources_list()
  filefield_sources_filefield_sources_info()
  filefield_sources_includes()
  filefield_sources_clean_filename()
  theme_filefield_sources_list()
  filefield_sources_element_validate()
  filefield_sources_element_validation_help()
  _filefield_sources_sort()

Functions
Functions that are not part of a class:

filefield_sources_menu()   X-Ref
Implementation of hook_menu().


filefield_sources_init()   X-Ref
Implementation of hook_init().


filefield_sources_elements()   X-Ref
Implementation of hook_elements().


filefield_sources_theme()   X-Ref
Implementation of hook_theme().


filefield_sources_filefield_sources_widgets()   X-Ref
Implementation of hook_filefield_sources_widgets().

This returns a list of widgets that are compatible with FileField Sources.

filefield_sources_widget_settings_alter(&$settings, $op, $widget)   X-Ref
Implementation of hook_widget_settings_alter().


filefield_sources_widget_settings($widget)   X-Ref
A list of settings needed by FileField Sources module on widgets.


filefield_sources_form($widget)   X-Ref
Configuration form for editing FileField Sources settings for a widget.


filefield_sources_process($element, $edit, &$form_state, $form)   X-Ref
A #process callback to extend the filefield_widget element type.

Add the central JavaScript and CSS files that allow switching between
different sources. Third-party modules can also add to the list of sources
by implementing hook_filefield_sources_info().

filefield_sources_validate($element, &$form_state, $form)   X-Ref
An #element_validate function to run source validations.


filefield_sources_value($element, &$item)   X-Ref
A #filefield_value_callback to run source value callbacks.


filefield_sources_invoke_all($method, &$params)   X-Ref
Call all FileField Source hooks stored in the available include files.


filefield_sources_info()   X-Ref
Load hook_filefield_sources_info() data from all modules.


filefield_sources_list($include_default = TRUE)   X-Ref
Create a list of FileField Sources by name, suitable for a select list.


filefield_sources_filefield_sources_info()   X-Ref
Implementation of hook_filefield_sources_info().


filefield_sources_includes($include = TRUE, $enabled_only = TRUE)   X-Ref
Load all the potential sources.


filefield_sources_clean_filename($filepath)   X-Ref
Clean up the file name, munging extensions and transliterating.

param: $filepath
return:

theme_filefield_sources_list($element, $sources)   X-Ref
Theme the display of the sources list.


filefield_sources_element_validate($element, $file)   X-Ref
Validate a file based on the $element['#upload_validators'] property.


filefield_sources_element_validation_help($validators)   X-Ref
Generate help text based on the $element['#upload_validators'] property.


_filefield_sources_sort($a, $b)   X-Ref
Custom sort function for ordering sources.




Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7