field_file.inc

Version 1.37 (checked in on 2010/06/29 at 19:14:16 by quicksketch)

Common functionality for file handling CCK field modules.

Functions

NameDescription
field_file_check_directoryA silent version of file.inc's file_check_directory().
field_file_deleteDelete a field file and its database record.
field_file_loadLoad a file from the database.
field_file_referencesReturn a count of the references to a file by all modules.
field_file_saveSave a node file. Delete items if necessary and set new items as permanent.
field_file_save_fileSave a file into a file node after running all the associated validators.
field_file_save_uploadSave a file upload to a new location. The source file is validated as a proper upload and handled as such. By implementing hook_file($op = 'insert'), modules are able to act on the file upload and to add their own properties to the file.
field_file_strip_pathRemove a possible leading file directory path from the given path.
_field_file_cacheInternal cache, in order to minimize database queries for loading files.