You are here

Functions in FileField 6.2

Primary tabs

Namesort descending Location Description Direct uses Strings
filefield_update_3 ./filefield.install Update to filefield 5.x-2.3: Move the 'show_list' widget setting to the (inverse) 'force_list' field setting.
filefield_update_6001 ./filefield.install
filefield_validate_file_widget_support ./filefield.widget.inc Check that a file is supported by at least one of the widgets that are enabled for the field instance in question.
filefield_view_access ./filefield.module Access callback that checks if the current user may view the filefield. 2
filefield_widget ./filefield.widget.inc Implementation of hook_widget() - the one in filefield.module is just there to include this one on demand.
filefield_widget_for_file ./filefield.module Determine which widget will be used for displaying the edit form for the given file. 2
filefield_widget_info ./filefield.module Implementation of CCK's hook_widget_info().
filefield_widget_settings ./filefield.module Implementation of CCK's hook_widget_settings().
theme_filefield ./filefield.formatter.inc Theme function for any file that is managed by filefield. It doesn't really format stuff by itself but rather redirects to other formatters that are telling us they want to handle the concerned file.
theme_filefield_container_item ./filefield.theme.inc Render either an upload or edit container item so that the children elements always appear inside a nice table, whatever $field['multiple'] might be.
theme_filefield_draggable_settings_table ./filefield.theme.inc Theme function for a file formatter / file widget settings table.
theme_filefield_file_edit ./filefield.widget.inc Theme function for the file edit container element.
theme_filefield_file_formatter_generic ./filefield.formatter.inc Theme function for the 'generic' single file formatter.
theme_filefield_file_upload ./filefield.widget.inc Theme function for the file upload container element.
theme_filefield_formatter_default ./filefield.formatter.inc Theme function for the 'default' filefield formatter.
theme_filefield_generic_edit ./filefield.module Theme function for the 'filefield_generic_edit' form element.
theme_filefield_icon ./filefield.theme.inc Return an image with an appropriate icon for the given file. Remember to pass a file object and not an array.
theme_filefield_unguarded ./filefield.formatter.inc Theme function for any file that is managed by filefield. It doesn't really format stuff by itself but rather redirects to other formatters that are telling us they want to handle the concerned file.
_field_file_cache ./field_file.inc Internal cache, in order to minimize database queries for loading files. 4
_filefield_add_css ./filefield.module Add all CSS files that extension file widgets might need, so that they exist even if the form element has only been inserted by JavaScript. Can also be used for formatter info arrays as those look similar. 1
_filefield_create_icon_path ./filefield.theme.inc 1
_filefield_draggable_settings_table ./filefield.module Construct a table with file widgets or file formatter settings, amending additional properties and child elements to the given element base. 2
_filefield_extension_for_file ./filefield.module Common implementation of filefield_widget_for_file() and filefield_formatter_for_file(). 2
_filefield_filefield_validators ./filefield.widget.inc Implementation of hook_filefield_validators(): Upload restrictions for file size, file extension and supported file widgets. Implemented as private function instead of as a real hook, because we want to make an exception so that these requirements… 1
_filefield_file_extension_info ./filefield.module Common implementation for _filefield_file_widget_info() and _filefield_file_formatter_info(): sort and the given extensions and mark them as enabled or not, based on the extension $settings from hook_widget_settings() or hook_field_settings()… 2
_filefield_file_extension_info_original ./filefield.module 2
_filefield_file_formatter_info ./filefield.module Retrieve information about the formatters that are going to display the single files for the node view or other views. This function also sorts the formatters in the way that the administrator has specified for this field. 2
_filefield_file_upload ./filefield.widget.inc Upload a file to the given field and delta (or try to, at least), and update the corresponding part of the form state with the new file data. 2
_filefield_file_widget_info ./filefield.module Retrieve information about the widgets that are going to preview and edit the single files that are uploaded in CCK's edit form. This function also sorts the widgets in the way that the administrator has specified for this field. 4
_filefield_generic_icon_map ./filefield.theme.inc 1
_filefield_icon_path ./filefield.theme.inc 1
_filefield_icon_url ./filefield.theme.inc 2
_filefield_maximum_filesize ./filefield.widget.inc Get the maximum file size that is allowed for a new upload. 1
_filefield_sort_by_weight ./filefield.module Helper function to sort file formatter/widget settings according to user drag-n-drop reordering. 1
_filefield_sort_by_weight_helper ./filefield.module Sort function for file formatter/widget order. (copied form element_sort(), which acts on #weight keys) 1
_filefield_supported_file_widgets ./filefield.widget.inc If not all file types might be handled by the enabled set of file widgets, return an array of widget titles specifying which ones are allowed for the given field. If a widget is enabled which handles all files, return an empty array. 1
_filefield_upload_requirements ./filefield.widget.inc Retrieve a list of upload requirement strings for the various upload restrictions that this module and possible extensions provide. 1
_filefield_upload_validators ./filefield.widget.inc Retrieve a list of file validator functions (and arguments) that can be passed to file_save_upload() (or field_file_save_upload()) as is. 1
_filefield_validator_info ./filefield.widget.inc Retrieve an array of file validators and their associated requirement messages (placing filefield's own validators first in the result array). 2
_filefield_widget_settings_file_path_validate ./filefield.module 1
_filefield_widget_settings_max_filesize_per_file_validate ./filefield.module 1
_filefield_widget_settings_max_filesize_per_node_validate ./filefield.module 1

Pages

Other projects