Functions

Primary tabs

Name Location Description Direct uses Stringssort descending
format_date drupal/includes/common.inc Formats a date, using a date type or a custom date format string. 56
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
drupal_deliver_page drupal/includes/common.inc Delivers a page callback result to the browser in the appropriate format. 4
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
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_get_css drupal/includes/common.inc Returns a themed representation of all stylesheets to attach to the page. 14
drupal_build_css_cache drupal/includes/common.inc Aggregates and optimizes CSS files into a cache file in the files directory. 1
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_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_region_class drupal/includes/common.inc Provides a standard HTML class name that identifies a page region. 2
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
drupal_add_tabledrag drupal/includes/common.inc Assists in adding the tableDrag JavaScript behavior to a themed table. 16
drupal_build_js_cache drupal/includes/common.inc Aggregates JavaScript files into a cache file in the files directory. 2
drupal_json_encode drupal/includes/common.inc Converts a PHP variable into its JavaScript equivalent. 5
drupal_json_decode drupal/includes/common.inc Converts an HTML-safe JSON string into its PHP equivalent. 9
drupal_get_private_key drupal/includes/common.inc Ensures the private key variable used to generate tokens is set. 6
drupal_get_token drupal/includes/common.inc Generates a token based on $value, the user session, and the private key. 14
drupal_valid_token drupal/includes/common.inc Validates a token based on $value, the user session, and the private key. 16
_drupal_bootstrap_full drupal/includes/common.inc 1
drupal_page_set_cache drupal/includes/common.inc Stores the current page in the cache. 1
drupal_cron_run drupal/includes/common.inc Executes a cron run when called. 8
drupal_cron_cleanup drupal/includes/common.inc DEPRECATED: Shutdown function: Performs cron cleanup.
drupal_set_page_content drupal/includes/common.inc Sets the main page content value for later use. 5
drupal_render_page drupal/includes/common.inc Renders the page, including all theming. 2
drupal_render_children drupal/includes/common.inc Renders children of an element and concatenates them. 31
hide drupal/includes/common.inc Hides an element from later rendering. 7
show drupal/includes/common.inc Shows a hidden element for later rendering. 1
drupal_render_cache_get drupal/includes/common.inc Gets the rendered output of a renderable element from the cache. 2
drupal_render_cache_set drupal/includes/common.inc Caches the rendered output of a renderable element. 1
drupal_render_collect_attached drupal/includes/common.inc Collects #attached for an element and its children into a single array. 1
drupal_render_cache_by_query drupal/includes/common.inc Prepares an element for caching based on a query. 1
drupal_render_cid_parts drupal/includes/common.inc Returns cache ID parts for building a cache ID. 3
drupal_render_cid_create drupal/includes/common.inc Creates the cache ID for a renderable element. 2
element_info drupal/includes/common.inc Retrieves the default properties for the defined element type. 11
element_info_property drupal/includes/common.inc Retrieves a single property for the defined element type. 1
element_properties drupal/includes/common.inc Gets properties of a structured array element (keys beginning with '#'). 1
element_child drupal/includes/common.inc Checks if the key is a child. 2
element_children drupal/includes/common.inc Identifies the children of an element array, optionally sorted by weight. 68
element_get_visible_children drupal/includes/common.inc Returns the visible children of an element.
element_set_attributes drupal/includes/common.inc Sets HTML attributes based on element properties. 12

Pages

Other projects