Functions

Primary tabs

Name Locationsort ascending Description Direct uses Strings
drupal_add_region_content drupal/includes/common.inc Adds content to a specified region. 5
drupal_get_region_content drupal/includes/common.inc Gets assigned content for a given region. 3
drupal_get_profile drupal/includes/common.inc Gets the name of the currently active installation profile. 15
drupal_set_breadcrumb drupal/includes/common.inc Sets the breadcrumb trail for the current page. 8
drupal_get_breadcrumb drupal/includes/common.inc Gets the breadcrumb trail for the current page. 1
drupal_get_rdf_namespaces drupal/includes/common.inc Returns a string containing RDF namespace declarations for use in XML and XHTML output. 1
drupal_add_html_head drupal/includes/common.inc Adds output to the HEAD tag of the HTML page. 7
_drupal_default_html_head drupal/includes/common.inc Returns elements that are always displayed in the HEAD tag of the HTML page. 1
drupal_get_html_head drupal/includes/common.inc Retrieves output to be displayed in the HEAD tag of the HTML page. 4
drupal_add_feed drupal/includes/common.inc Adds a feed URL for the current page. 9
drupal_get_feeds drupal/includes/common.inc Gets the feed URLs for the current page. 1
drupal_get_query_parameters drupal/includes/common.inc Processes a URL query parameter array to remove unwanted elements. 12
drupal_get_query_array drupal/includes/common.inc Splits a URL-encoded query string into an array. 4
drupal_http_build_query drupal/includes/common.inc Parses an array into a valid, rawurlencoded query string. 9
drupal_get_destination drupal/includes/common.inc Prepares a 'destination' URL query parameter for use with drupal_goto(). 29
drupal_parse_url drupal/includes/common.inc Parses a URL string into its path, query, and fragment components. 6
drupal_encode_path drupal/includes/common.inc Encodes a Drupal path for use in a URL. 3
drupal_goto drupal/includes/common.inc Sends the user to a different page. 45 4
drupal_site_offline drupal/includes/common.inc Delivers a "site is under maintenance" message to the browser.
drupal_not_found drupal/includes/common.inc Delivers a "page not found" error to the browser. 10
drupal_access_denied drupal/includes/common.inc Delivers an "access denied" error to the browser. 7
drupal_http_request drupal/includes/common.inc Performs an HTTP request. 16
_drupal_http_use_proxy drupal/includes/common.inc Helper function for determining hosts excluded from needing a proxy. 1
_fix_gpc_magic drupal/includes/common.inc Strips slashes from a string or array of strings. 1
_fix_gpc_magic_files drupal/includes/common.inc Strips slashes from $_FILES items. 1
fix_gpc_magic drupal/includes/common.inc Fixes double-escaping caused by "magic quotes" in some PHP installations. 1
valid_email_address drupal/includes/common.inc Verifies the syntax of the given e-mail address. 8
valid_url drupal/includes/common.inc Verifies the syntax of the given URL. 11
flood_register_event drupal/includes/common.inc Registers an event for the current visitor to the flood control mechanism. 4
flood_clear_event drupal/includes/common.inc Makes the flood control mechanism forget an event for the current visitor. 1
flood_is_allowed drupal/includes/common.inc Checks whether a user is allowed to proceed with the specified event. 4
drupal_strip_dangerous_protocols drupal/includes/common.inc Strips dangerous protocols (e.g. 'javascript:') from a URI. 7
check_url drupal/includes/common.inc Strips dangerous protocols from a URI and encodes it for output to HTML. 17
filter_xss_admin drupal/includes/common.inc Applies a very permissive XSS/HTML filter for admin-only use. 23 1
filter_xss drupal/includes/common.inc Filters HTML to prevent cross-site-scripting (XSS) vulnerabilities. 24
_filter_xss_split drupal/includes/common.inc Processes an HTML tag. 1 1
_filter_xss_attributes drupal/includes/common.inc Processes a string of HTML attributes. 1
filter_xss_bad_protocol drupal/includes/common.inc Processes an HTML attribute value and strips dangerous protocols from URLs. 1
format_rss_channel drupal/includes/common.inc Formats an RSS channel. 2
format_rss_item drupal/includes/common.inc Formats a single RSS item. 2
format_xml_elements drupal/includes/common.inc Formats XML elements. 4
format_plural drupal/includes/common.inc Formats a string containing a count of items. 51
parse_size drupal/includes/common.inc Parses a given byte count. 7
format_size drupal/includes/common.inc Generates a string representation for the given byte count. 18
format_interval drupal/includes/common.inc Formats a time interval with the requested granularity. 30 8
format_date drupal/includes/common.inc Formats a date, using a date type or a custom date format string. 56
date_iso8601 drupal/includes/common.inc Returns an ISO8601 formatted date based on the given date. 5
_format_date_callback drupal/includes/common.inc Translates a formatted date string. 1 1
format_username drupal/includes/common.inc Format a username. 31 1
url drupal/includes/common.inc Generates an internal or external URL. 303 14

Pages

Other projects