Functions

Primary tabs

Name Locationsort descending Description Direct uses Strings
drupal_add_library drupal/includes/common.inc Adds multiple JavaScript or CSS files at the same time. 13 3
drupal_get_library drupal/includes/common.inc Retrieves information for a JavaScript/CSS library. 5 2
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_clear_js_cache drupal/includes/common.inc Deletes old cached JavaScript files and variables. 1 1
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_json_output drupal/includes/common.inc Returns data in JSON format. 21 1
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_system_listing drupal/includes/common.inc Returns information about system object files (modules, themes, etc.). 7 1
drupal_set_page_content drupal/includes/common.inc Sets the main page content value for later use. 5
drupal_pre_render_conditional_comments drupal/includes/common.inc #pre_render callback to render #browsers into #prefix and #suffix. 1
drupal_pre_render_link drupal/includes/common.inc #pre_render callback to render a link into #markup. 1
drupal_pre_render_links drupal/includes/common.inc #pre_render callback that collects child links into a single array. 3
drupal_pre_render_markup drupal/includes/common.inc #pre_render callback to append contents in #markup to #children. 1
drupal_render_page drupal/includes/common.inc Renders the page, including all theming. 2
drupal_render drupal/includes/common.inc Renders HTML given a structured array tree. 91 1
drupal_render_children drupal/includes/common.inc Renders children of an element and concatenates them. 31
render drupal/includes/common.inc Renders an element. 23 1
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_sort drupal/includes/common.inc Function used by uasort to sort structured arrays by weight. 4
element_sort_by_title drupal/includes/common.inc Array sorting callback; sorts elements by title. 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
drupal_sort_weight drupal/includes/common.inc Sorts a structured array by the 'weight' element. 8
drupal_sort_title drupal/includes/common.inc Array sorting callback; sorts elements by 'title' key. 1
element_property drupal/includes/common.inc Checks if the key is a property. 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
drupal_array_set_nested_value drupal/includes/common.inc Sets a value in a nested array with variable depth. 7
drupal_array_get_nested_value drupal/includes/common.inc Retrieves a value from a nested array with variable depth. 16
drupal_array_nested_key_exists drupal/includes/common.inc Determines whether a nested array contains the requested keys. 2
drupal_common_theme drupal/includes/common.inc Provides theme registration for themes across .inc files. 1
drupal_install_schema drupal/includes/common.inc Creates all tables defined in a module's hook_schema(). 2

Pages

Other projects