Search for file

  1. Search 9.5.x for file
  2. Search 8.9.x for file
  3. Search 10.3.x for file
  4. Search 11.x for file
  5. Other projects
Title Object type File name Summary
file_scan_directory function includes/file.inc Finds all files that match a given mask in a given directory.
file_space_used function includes/file.inc Determines total disk space used by a single user or the whole filesystem.
FILE_STATUS_PERMANENT constant includes/file.inc Indicates that the file is permanent and should not be deleted.
file_stream_wrapper_get_class function includes/file.inc Returns the stream wrapper class name for a given scheme.
file_stream_wrapper_get_instance_by_scheme function includes/file.inc Returns a reference to the stream wrapper class responsible for a scheme.
file_stream_wrapper_get_instance_by_uri function includes/file.inc Returns a reference to the stream wrapper class responsible for a given URI.
file_stream_wrapper_uri_normalize function includes/file.inc Normalizes a URI by making it syntactically correct.
file_stream_wrapper_valid_scheme function includes/file.inc Checks that the scheme of a stream URI is valid.
file_test.info file modules/simpletest/tests/file_test.info name = "File test"
description = "Support module for file handling tests."
package = Testing
version = VERSION
core = 7.x
files[] = file_test.module
hidden = TRUE
file_test.module file modules/simpletest/tests/file_test.module Helper module for the file tests.
file_test_file_copy function modules/simpletest/tests/file_test.module Implements hook_file_copy().
file_test_file_delete function modules/simpletest/tests/file_test.module Implements hook_file_delete().
file_test_file_download function modules/simpletest/tests/file_test.module Implements hook_file_download().
file_test_file_insert function modules/simpletest/tests/file_test.module Implements hook_file_insert().
file_test_file_load function modules/simpletest/tests/file_test.module Implements hook_file_load().
file_test_file_mimetype_mapping_alter function modules/simpletest/tests/file_test.module Implements hook_file_mimetype_mapping_alter().
file_test_file_move function modules/simpletest/tests/file_test.module Implements hook_file_move().
file_test_file_scan_callback function modules/simpletest/tests/file.test Helper function for testing file_scan_directory().
file_test_file_scan_callback_reset function modules/simpletest/tests/file.test Reset static variables used by file_test_file_scan_callback().
file_test_file_update function modules/simpletest/tests/file_test.module Implements hook_file_update().
file_test_file_url_alter function modules/simpletest/tests/file_test.module Implements hook_file_url_alter().
file_test_file_validate function modules/simpletest/tests/file_test.module Implements hook_file_validate().
file_test_get_all_calls function modules/simpletest/tests/file_test.module Get an array with the calls for all hooks.
file_test_get_calls function modules/simpletest/tests/file_test.module Get the arguments passed to invocation of a given hook since
file_test_reset() was last called.
file_test_menu function modules/simpletest/tests/file_test.module Implements hook_menu().
file_test_reset function modules/simpletest/tests/file_test.module Reset/initialize the history of calls to the file_* hooks.
file_test_set_return function modules/simpletest/tests/file_test.module Assign a return value for a given operation.
file_test_stream_wrappers function modules/simpletest/tests/file_test.module Implements hook_stream_wrappers().
file_test_validator function modules/simpletest/tests/file.test Helper validator that returns the $errors parameter.
file_theme function modules/file/file.module Implements hook_theme().
file_transfer function includes/file.inc Transfers a file to the client using HTTP.
file_unmanaged_copy function includes/file.inc Copies a file to a new location without invoking the file API.
file_unmanaged_delete function includes/file.inc Deletes a file without database changes or hook invocations.
file_unmanaged_delete_recursive function includes/file.inc Deletes all files and directories in the specified filepath recursively.
file_unmanaged_move function includes/file.inc Moves a file to a new location without database changes or hook invocation.
file_unmanaged_save_data function includes/file.inc Saves a string to the specified destination without invoking file API.
file_unmunge_filename function includes/file.inc Undoes the effect of file_munge_filename().
file_upload_max_size function includes/file.inc Determines the maximum file upload size by querying the PHP settings.
file_uri_normalize_dot_segments function includes/file.inc Normalize dot segments in a URI.
file_uri_scheme function includes/file.inc Returns the scheme of a URI (e.g. a stream).
file_uri_target function includes/file.inc Returns the part of a URI after the schema.
FILE_URL_TEST_CDN_1 constant modules/simpletest/tests/file_test.module @file
Helper module for the file tests.
FILE_URL_TEST_CDN_2 constant modules/simpletest/tests/file_test.module
file_usage_add function includes/file.inc Records that a module is using a file.
file_usage_delete function includes/file.inc Removes a record to indicate that a module is no longer using a file.
file_usage_list function includes/file.inc Determines where a file is used.
file_validate function includes/file.inc Checks that a file meets the criteria specified by the validators.
file_validate_extensions function includes/file.inc Checks that the filename ends with an allowed extension.
file_validate_image_resolution function includes/file.inc Verifies that image dimensions are within the specified maximum and minimum.
file_validate_is_image function includes/file.inc Checks that the file is recognized by image_get_info() as an image.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.