file.module

Version

1.37 (checked in on 2010/08/27 at 11:54:32 by webchick)

Description

Defines a "managed_file" Form API field and a "file" field for Field module.

Functions

Namesort iconDescription
file_ajax_progressMenu callback for upload progress.
file_ajax_uploadMenu callback; Shared AJAX callback for file uploads and deletions.
file_element_infoImplements hook_element_info().
file_file_deleteImplements hook_file_delete().
file_file_downloadImplements hook_file_download().
file_get_file_referencesGets a list of references to a file.
file_helpImplements hook_help().
file_icon_mapDetermine the generic icon MIME package based on a file's MIME type.
file_icon_pathGiven a file object, create a path to a matching icon.
file_icon_urlGiven a file object, create a URL to a matching icon.
file_managed_file_pre_render#pre_render callback to hide display of the upload or remove controls.
file_managed_file_processProcess function to expand the managed_file element type.
file_managed_file_save_uploadGiven a managed_file element, save any files that have been uploaded into it.
file_managed_file_submitSubmit handler for upload and remove buttons of managed_file elements.
file_managed_file_validateAn #element_validate callback for the managed_file element.
file_managed_file_valueThe #value_callback for a managed_file type element.
file_menuImplements hook_menu().
file_progress_implementationDetermine the preferred upload progress implementation.
file_themeImplements hook_theme().
theme_file_iconReturns HTML for an image with an appropriate icon for the given file.
theme_file_linkReturns HTML for a link to a file.
theme_file_managed_fileReturns HTML for a managed file element.