Functions

Primary tabs

Name Locationsort descending Description Direct uses Strings
_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
url_is_external drupal/includes/common.inc Returns TRUE if a path is external to Drupal (e.g. http://example.com). 12 1
drupal_http_header_attributes drupal/includes/common.inc Formats an attribute string for an HTTP header. 1
drupal_attributes drupal/includes/common.inc Converts an associative array to an XML/HTML tag attribute string. 41
l drupal/includes/common.inc Formats an internal or external URL link as an HTML anchor tag. 141 2
drupal_deliver_page drupal/includes/common.inc Delivers a page callback result to the browser in the appropriate format. 4
drupal_deliver_html_page drupal/includes/common.inc Packages and sends the result of a page callback to the browser as HTML. 2
drupal_page_footer drupal/includes/common.inc Performs end-of-request tasks. 1
drupal_exit drupal/includes/common.inc Performs end-of-request tasks. 22
drupal_map_assoc drupal/includes/common.inc Forms an associative array from a linear array. 38
drupal_set_time_limit drupal/includes/common.inc Attempts to set the PHP maximum execution time. 5
drupal_get_path drupal/includes/common.inc Returns the path to a system item (module, theme, etc.). 170 1
base_path drupal/includes/common.inc Returns the base URL path (i.e., directory) of the Drupal installation. 24
drupal_add_html_head_link drupal/includes/common.inc Adds a LINK tag with a distinct 'rel' attribute to the page's HEAD. 8
drupal_add_css drupal/includes/common.inc Adds a cascading stylesheet to the stylesheet queue. 42 3
drupal_get_css drupal/includes/common.inc Returns a themed representation of all stylesheets to attach to the page. 14
drupal_sort_css_js drupal/includes/common.inc Sorts CSS and JavaScript resources. 2
drupal_group_css drupal/includes/common.inc Default callback to group CSS items. 1
drupal_aggregate_css drupal/includes/common.inc Default callback to aggregate CSS files and inline content. 1
drupal_pre_render_styles drupal/includes/common.inc #pre_render callback to add the elements needed for CSS tags to be rendered. 1
drupal_build_css_cache drupal/includes/common.inc Aggregates and optimizes CSS files into a cache file in the files directory. 1
_drupal_build_css_path drupal/includes/common.inc Prefixes all paths within a CSS file for drupal_build_css_cache(). 2 2
drupal_load_stylesheet drupal/includes/common.inc Loads the stylesheet and resolves all @import commands. 4
drupal_load_stylesheet_content drupal/includes/common.inc Processes the contents of a stylesheet for aggregation. 4
_drupal_load_stylesheet drupal/includes/common.inc Loads stylesheets recursively and returns contents with corrected paths. 1
drupal_clear_css_cache drupal/includes/common.inc Deletes old cached CSS files. 3 1
drupal_delete_file_if_stale drupal/includes/common.inc Callback to delete files modified more than a set time ago. 2
drupal_clean_css_identifier drupal/includes/common.inc Prepares a string for use as a CSS identifier (element, class, or ID name). 2
drupal_html_class drupal/includes/common.inc Prepares a string for use as a valid class name. 12
drupal_html_id drupal/includes/common.inc Prepares a string for use as a valid HTML ID and guarantees uniqueness. 13 2
drupal_region_class drupal/includes/common.inc Provides a standard HTML class name that identifies a page region. 2
drupal_add_js drupal/includes/common.inc Adds a JavaScript file, setting, or inline code to the page. 51 8
drupal_js_defaults drupal/includes/common.inc Constructs an array of the defaults that are used for JavaScript items. 3
drupal_get_js drupal/includes/common.inc Returns a themed presentation of all JavaScript code for the current page. 18
drupal_process_attached drupal/includes/common.inc Adds attachments to a render() structure. 3
drupal_process_states drupal/includes/common.inc Adds JavaScript to change the state of an element based on another element. 1

Pages

Other projects