Functions

Primary tabs

Name Location Description Direct uses Stringssort descending
file_create_filename drupal/includes/file.inc Creates a full file path from a directory and filename. 3
file_delete drupal/includes/file.inc Deletes a file and its database record. 9
file_unmanaged_delete drupal/includes/file.inc Deletes a file without database changes or hook invocations. 12
file_unmanaged_delete_recursive drupal/includes/file.inc Deletes all files and directories in the specified filepath recursively. 13
file_space_used drupal/includes/file.inc Determines total disk space used by a single user or the whole filesystem. 2
file_save_upload drupal/includes/file.inc Saves a file upload to a new location. 7
drupal_move_uploaded_file drupal/includes/file.inc Moves an uploaded file to a new location. 1
file_validate drupal/includes/file.inc Checks that a file meets the criteria specified by the validators. 2
file_validate_name_length drupal/includes/file.inc Checks for files with names longer than we can store in the database. 1
file_validate_extensions drupal/includes/file.inc Checks that the filename ends with an allowed extension. 2
file_validate_size drupal/includes/file.inc Checks that the file's size is below certain limits. 1
file_validate_is_image drupal/includes/file.inc Checks that the file is recognized by image_get_info() as an image. 1
file_validate_image_resolution drupal/includes/file.inc Verifies that image dimensions are within the specified maximum and minimum. 1
file_save_data drupal/includes/file.inc Saves a file to the specified destination and creates a database entry. 9
file_unmanaged_save_data drupal/includes/file.inc Saves a string to the specified destination without invoking file API. 10
file_transfer drupal/includes/file.inc Transfers a file to the client using HTTP. 2
file_upload_max_size drupal/includes/file.inc Determines the maximum file upload size by querying the PHP settings. 4
file_get_mimetype drupal/includes/file.inc Determines an Internet Media Type or MIME type from a filename. 6
drupal_chmod drupal/includes/file.inc Sets the permissions on a file or directory. 9
drupal_unlink drupal/includes/file.inc Deletes a file. 18
drupal_realpath drupal/includes/file.inc Resolves the absolute filepath of a local URI or filepath. 47
drupal_dirname drupal/includes/file.inc Gets the name of the directory from a given path. 5
drupal_basename drupal/includes/file.inc Gets the filename from a given path. 32
drupal_mkdir drupal/includes/file.inc Creates a directory using Drupal's default mode. 5
drupal_rmdir drupal/includes/file.inc Removes a directory. 6
drupal_tempnam drupal/includes/file.inc Creates a file with a unique filename in the specified directory. 6
file_get_content_headers drupal/includes/file.inc Examines a file object and returns appropriate content headers for download. 1
xmlrpc_value drupal/includes/xmlrpc.inc Turns a data structure into objects with 'data' and 'type' attributes. 2
xmlrpc_value_calculate_type drupal/includes/xmlrpc.inc Maps a PHP type to an XML-RPC type. 1
xmlrpc_value_get_xml drupal/includes/xmlrpc.inc Generates XML representing the given value. 2
xmlrpc_message drupal/includes/xmlrpc.inc Constructs an object representing an XML-RPC message. 3
xmlrpc_message_parse drupal/includes/xmlrpc.inc Parses an XML-RPC message. 3
xmlrpc_message_set drupal/includes/xmlrpc.inc Stores a copy of the most recent XML-RPC message object temporarily. 5
xmlrpc_message_get drupal/includes/xmlrpc.inc Returns the most recently stored XML-RPC message object. 4
xmlrpc_request drupal/includes/xmlrpc.inc Constructs an object representing an XML-RPC request. 1
xmlrpc_error drupal/includes/xmlrpc.inc Generates, temporarily saves, and returns an XML-RPC error object. 8
xmlrpc_error_get_xml drupal/includes/xmlrpc.inc Converts an XML-RPC error object into XML. 1
xmlrpc_date drupal/includes/xmlrpc.inc Converts a PHP or ISO date/time to an XML-RPC object. 3
xmlrpc_date_get_xml drupal/includes/xmlrpc.inc Converts an XML-RPC date-time object into XML. 1
xmlrpc_base64 drupal/includes/xmlrpc.inc Returns an XML-RPC base 64 object. 1
xmlrpc_base64_get_xml drupal/includes/xmlrpc.inc Converts an XML-RPC base 64 object into XML. 1
_xmlrpc drupal/includes/xmlrpc.inc Performs one or more XML-RPC requests. 1
xmlrpc_errno drupal/includes/xmlrpc.inc Returns the last XML-RPC client error number.
xmlrpc_error_msg drupal/includes/xmlrpc.inc Returns the last XML-RPC client error message.
xmlrpc_clear_error drupal/includes/xmlrpc.inc Clears any previously-saved errors. 1
language_types_disable drupal/includes/language.inc Disables the given language types.
language_types_set drupal/includes/language.inc Updates the language type configuration. 2
language_negotiation_get drupal/includes/language.inc Checks whether a language negotiation provider is enabled for a language type. 3
language_negotiation_get_any drupal/includes/language.inc Checks if the language negotiation provider is enabled for any language type. 2
language_negotiation_get_switch_links drupal/includes/language.inc Returns the language switch links for the given language. 3

Pages

Other projects