upload.module

Version 1.269 (checked in on 2009/11/08 at 10:02:41 by webchick)

File-handling and attaching files to nodes.

Functions

NameDescription
theme_upload_attachmentsDisplays file attachments in table
theme_upload_form_currentTheme the attachments list.
theme_upload_form_newTheme the attachment form. Note: required to output prefix/suffix.
upload_file_deleteImplement hook_file_delete().
upload_file_downloadImplement hook_file_download().
upload_file_loadImplement hook_file_load().
upload_file_referencesImplement hook_file_references().
upload_form_alter
upload_helpImplement hook_help().
upload_jsMenu-callback for JavaScript-based uploads.
upload_menuImplement hook_menu().
upload_node_deleteImplement hook_node_delete().
upload_node_form_submitSave new uploads and store them in the session to be associated to the node on upload_save.
upload_node_insertImplement hook_node_insert().
upload_node_linksInject links into $node for attachments.
upload_node_loadImplement hook_node_load().
upload_node_revision_deleteImplement hook_node_revision_delete().
upload_node_search_resultImplement hook_node_search_result().
upload_node_updateImplement hook_node_update().
upload_node_viewImplement hook_node_view().
upload_permissionImplement hook_permission().
upload_save
upload_space_usedDetermine how much disk space is occupied by a user's uploaded files.
upload_themeImplement hook_theme().
upload_total_space_usedDetermine how much disk space is occupied by uploaded files.
_upload_file_limitsDetermine the limitations on files that a given user may upload. The user may be in multiple roles so we select the most permissive limitations from all of their roles.
_upload_form
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.