Functions - 7.x - drupal
Title | Deprecated | File name | Summary | Direct uses | Strings |
---|---|---|---|---|---|
file_icon_url | modules/ |
Creates a URL to the icon for a file object. | 1 | ||
file_load | includes/ |
Loads a single file object from the database. | 42 | ||
file_load_multiple | includes/ |
Loads file objects from the database. | 15 | ||
file_managed_file_pre_render | modules/ |
#pre_render callback to hide display of the upload or remove controls. | 1 | ||
file_managed_file_process | modules/ |
Process function to expand the managed_file element type. | 1 | ||
file_managed_file_save_upload | modules/ |
Saves any files that have been uploaded into a managed_file element. | 1 | ||
file_managed_file_submit | modules/ |
Form submission handler for upload / remove buttons of managed_file elements. | 1 | ||
file_managed_file_validate | modules/ |
An #element_validate callback for the managed_file element. | 1 | ||
file_managed_file_value | modules/ |
The #value_callback for a managed_file type element. | 1 | 1 | |
file_menu | modules/ |
Implements hook_menu(). | |||
file_mimetype_mapping | includes/ |
Return an array of MIME extension mappings. | 1 | ||
file_module_test_file_download | modules/ |
Implements hook_file_download(). | |||
file_module_test_form | modules/ |
Form constructor for testing a 'managed_file' element. | 1 | ||
file_module_test_form_submit | modules/ |
Form submission handler for file_module_test_form(). | |||
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. | 28 | 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. | 2 | ||
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. | 13 | ||
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. |
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.