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
| Name | Description |
|---|---|
| field_file_check_directory | A silent version of file.inc's file_check_directory(). |
| field_file_delete | Delete a field file and its database record. |
| field_file_load | Load a file from the database. |
| field_file_references | Return a count of the references to a file by all modules. |
| field_file_save | Save a node file. Delete items if necessary and set new items as permanent. |
| field_file_save_file | Save a file into a file node after running all the associated validators. |
| field_file_save_upload | Save 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_path | Remove a possible leading file directory path from the given path. |
| _field_file_cache | Internal cache, in order to minimize database queries for loading files. |


