C:/drupal/includes/file.inc File Reference

Go to the source code of this file.


Enumerations

enum  FILE_DOWNLOADS_PUBLIC
enum  FILE_DOWNLOADS_PRIVATE
enum  FILE_CREATE_DIRECTORY
enum  FILE_MODIFY_PERMISSIONS
enum  FILE_EXISTS_RENAME
enum  FILE_EXISTS_REPLACE
enum  FILE_EXISTS_ERROR
enum  FILE_STATUS_TEMPORARY
enum  FILE_STATUS_PERMANENT

Functions

 file_create_url ($path)
 file_create_path ($dest=0)
 file_check_directory (&$directory, $mode=0, $form_item=NULL)
 file_check_path (&$path)
 file_check_location ($source, $directory= '')
 file_copy (&$source, $dest=0, $replace=FILE_EXISTS_RENAME)
 file_destination ($destination, $replace)
 file_move (&$source, $dest=0, $replace=FILE_EXISTS_RENAME)
 file_munge_filename ($filename, $extensions, $alerts=TRUE)
 file_unmunge_filename ($filename)
 file_create_filename ($basename, $directory)
 file_delete ($path)
 file_space_used ($uid=NULL)
 file_save_upload ($source, $validators=array(), $dest=FALSE, $replace=FILE_EXISTS_RENAME)
 file_validate_name_length ($file)
 file_validate_extensions ($file, $extensions)
 file_validate_size ($file, $file_limit=0, $user_limit=0)
 file_validate_is_image (&$file)
 file_validate_image_resolution (&$file, $maximum_dimensions=0, $minimum_dimensions=0)
 file_save_data ($data, $dest, $replace=FILE_EXISTS_RENAME)
 file_set_status (&$file, $status)
 file_transfer ($source, $headers)
 file_download ()
 file_scan_directory ($dir, $mask, $nomask=array('.', '..', 'CVS'), $callback=0, $recurse=TRUE, $key= 'filename', $min_depth=0, $depth=0)
 file_directory_temp ()
 file_directory_path ()
 file_upload_max_size ()


Detailed Description

API for handling file uploads and server file management.

Definition in file file.inc.


Generated on Mon Jun 2 15:08:04 2008 for SimpleTest by  1.5.5