_upload_prepare

Functions that call _upload_prepare()

Namesort iconLocationDescription
upload_jsmodules/upload/upload.moduleMenu-callback for JavaScript-based uploads.
upload_nodeapimodules/upload/upload.moduleImplementation of hook_nodeapi().
_upload_preparemodules/upload/upload.moduleSave new uploads and attach them to the node object. append file_previews to the node object as well.

Functions called by _upload_prepare()

Namesort iconLocationDescription
file_check_uploadincludes/file.inc
file_deleteincludes/file.incDelete a file.
upload_munge_filenamemodules/upload/upload.moduleMunge the filename as needed for security purposes.
user_accessmodules/user/user.moduleDetermine whether the user has a given privilege.
variable_getincludes/bootstrap.incReturn a persistent variable.
_upload_imagemodules/upload/upload.moduleCheck an upload, if it is an image, make sure it fits within the maximum dimensions allowed.
_upload_preparemodules/upload/upload.moduleSave new uploads and attach them to the node object. append file_previews to the node object as well.
 
 

Drupal is a registered trademark of Dries Buytaert.