Functions - 7.x - drupal
Title | Deprecated | File name | Summary | Direct uses | Strings |
---|---|---|---|---|---|
file_module_test_menu | modules/ |
Implements hook_menu(). | |||
file_move | includes/ |
Moves a file to a new location and update the file's database entry. | 10 | ||
file_munge_filename | includes/ |
Modifies a filename as needed for security purposes. | 7 | ||
file_prepare_directory | includes/ |
Checks that the directory exists and is writable. | 25 | ||
file_progress_implementation | modules/ |
Determines the preferred upload progress implementation. | 4 | ||
file_register_phar_wrapper | includes/ |
Registers a phar stream wrapper that is more secure than PHP's built-in one. | 1 | ||
file_requirements | modules/ |
Implements hook_requirements(). | |||
file_save | includes/ |
Saves a file object to the database. | 13 | ||
file_save_data | includes/ |
Saves a file to the specified destination and creates a database entry. | 9 | ||
file_save_upload | includes/ |
Saves a file upload to a new location. | 7 | ||
file_scan_directory | includes/ |
Finds all files that match a given mask in a given directory. | 27 | 1 | |
file_space_used | includes/ |
Determines total disk space used by a single user or the whole filesystem. | 2 | ||
file_stream_wrapper_get_class | includes/ |
Returns the stream wrapper class name for a given scheme. | 6 | ||
file_stream_wrapper_get_instance_by_scheme | includes/ |
Returns a reference to the stream wrapper class responsible for a scheme. | 4 | ||
file_stream_wrapper_get_instance_by_uri | includes/ |
Returns a reference to the stream wrapper class responsible for a given URI. | 5 | ||
file_stream_wrapper_uri_normalize | includes/ |
Normalizes a URI by making it syntactically correct. | 6 | ||
file_stream_wrapper_valid_scheme | includes/ |
Checks that the scheme of a stream URI is valid. | 16 | ||
file_test_file_copy | modules/ |
Implements hook_file_copy(). | |||
file_test_file_delete | modules/ |
Implements hook_file_delete(). | |||
file_test_file_download | modules/ |
Implements hook_file_download(). | |||
file_test_file_insert | modules/ |
Implements hook_file_insert(). | |||
file_test_file_load | modules/ |
Implements hook_file_load(). | |||
file_test_file_mimetype_mapping_alter | modules/ |
Implements hook_file_mimetype_mapping_alter(). | |||
file_test_file_move | modules/ |
Implements hook_file_move(). | |||
file_test_file_scan_callback | modules/ |
Helper function for testing file_scan_directory(). | 1 | 2 | |
file_test_file_scan_callback_reset | modules/ |
Reset static variables used by file_test_file_scan_callback(). | 1 | ||
file_test_file_update | modules/ |
Implements hook_file_update(). | |||
file_test_file_url_alter | modules/ |
Implements hook_file_url_alter(). | |||
file_test_file_validate | modules/ |
Implements hook_file_validate(). | |||
file_test_get_all_calls | modules/ |
Get an array with the calls for all hooks. | 1 | ||
file_test_get_calls | modules/ |
Get the arguments passed to invocation of a given hook since file_test_reset() was last called. | 1 | ||
file_test_menu | modules/ |
Implements hook_menu(). | |||
file_test_reset | modules/ |
Reset/initialize the history of calls to the file_* hooks. | 12 | ||
file_test_set_return | modules/ |
Assign a return value for a given operation. | 3 | ||
file_test_stream_wrappers | modules/ |
Implements hook_stream_wrappers(). | |||
file_test_validator | modules/ |
Helper validator that returns the $errors parameter. | |||
file_theme | modules/ |
Implements hook_theme(). | |||
file_transfer | includes/ |
Transfers a file to the client using HTTP. | 2 | ||
file_unmanaged_copy | includes/ |
Copies a file to a new location without invoking the file API. | 15 | ||
file_unmanaged_delete | includes/ |
Deletes a file without database changes or hook invocations. | 12 | ||
file_unmanaged_delete_recursive | includes/ |
Deletes all files and directories in the specified filepath recursively. | 13 | ||
file_unmanaged_move | includes/ |
Moves a file to a new location without database changes or hook invocation. | 7 | ||
file_unmanaged_save_data | includes/ |
Saves a string to the specified destination without invoking file API. | 10 | ||
file_unmunge_filename | includes/ |
Undoes the effect of file_munge_filename(). | 1 | ||
file_upload_max_size | includes/ |
Determines the maximum file upload size by querying the PHP settings. | 4 | ||
file_uri_normalize_dot_segments | includes/ |
Normalize dot segments in a URI. | 3 | ||
file_uri_scheme | includes/ |
Returns the scheme of a URI (e.g. a stream). | 36 | ||
file_uri_target | includes/ |
Returns the part of a URI after the schema. | 18 | ||
file_usage_add | includes/ |
Records that a module is using a file. | 9 | ||
file_usage_delete | includes/ |
Removes a record to indicate that a module is no longer using a file. | 8 |
Pagination
- Previous page
- Page 26
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.