Primary tabs

Name Locationsort descending Description Direct uses Strings
format_interval includes/common.inc Format a time interval with the requested granularity. 13 5
format_date includes/common.inc Format a date with the given configured format or a custom format string. 27
url includes/common.inc Generate a URL from a Drupal menu path. Will also pass-through existing URLs. 55 2
drupal_attributes includes/common.inc Format an attribute string to insert in a tag. 16
l includes/common.inc Format an internal Drupal link. 93
drupal_page_footer includes/common.inc Perform end-of-request tasks. 1
drupal_map_assoc includes/common.inc Form an associative array from a linear array. 13
drupal_eval includes/common.inc Evaluate a string of PHP code.
drupal_get_path includes/common.inc Returns the path to a system item (module, theme, etc.). 1
base_path includes/common.inc Returns the base URL path of the Drupal installation. At the very least, this will always default to /. 13
drupal_clone includes/common.inc Provide a substitute clone() function for PHP4. 3
drupal_add_link includes/common.inc Add a <link> tag to the page's HEAD. 6
drupal_add_js includes/common.inc Add a JavaScript file to the output. 6
drupal_call_js includes/common.inc Generates a Javascript call, while importing the arguments as is. PHP arrays are turned into JS objects to preserve keys. This means the array keys must conform to JS's member naming rules.
drupal_to_js includes/common.inc Converts a PHP variable into its Javascript equivalent. 5
drupal_urlencode includes/common.inc Wrapper around urlencode() which avoids Apache quirks. 2
drupal_get_private_key includes/common.inc Ensure the private key variable used to generate tokens is set. 1
drupal_get_token includes/common.inc Generate a token based on $value, the current user session and private key.
drupal_valid_token includes/common.inc Validate a token based on $value, the current user session and private key.
xmlrpc includes/common.inc Performs one or more XML-RPC request(s). 3
page_set_cache includes/common.inc Store the current page in the cache. 1
_fix_gpc_magic includes/common.inc 1
check_file includes/common.inc
_drupal_bootstrap_full includes/common.inc
drupal_set_content includes/common.inc Set content for a specified region. 2
drupal_get_content includes/common.inc Get assigned content. 1
drupal_set_breadcrumb includes/common.inc Set the breadcrumb trail for the current page. 3
drupal_get_breadcrumb includes/common.inc Get the breadcrumb trail for the current page. 4
drupal_set_html_head includes/common.inc Add output to the head tag of the HTML page. This function can be called as long the headers aren't sent. 7
drupal_get_html_head includes/common.inc Retrieve output to be displayed in the head tag of the HTML page. 4
drupal_clear_path_cache includes/common.inc Reset the static variable which holds the aliases mapped for this request. 1
drupal_set_header includes/common.inc Set an HTTP response header for the current page. 13
drupal_get_headers includes/common.inc Get the HTTP response headers for the current page. 1
db_prefix_tables includes/database.inc Append a database prefix to all tables in a query. 11
db_set_active includes/database.inc Activate a database for future queries. 1
_db_query_callback includes/database.inc Helper function for db_query(). 8 8
db_query includes/database.inc Runs a basic query in the active database. 280
db_queryd includes/database.inc Debugging version of db_query().
_db_rewrite_sql includes/database.inc Helper function for db_rewrite_sql. 1
db_rewrite_sql includes/database.inc Rewrites node, taxonomy and comment queries. Use it for listing queries. Do not use FROM table1, table2 syntax, use JOIN instead. 43 1
db_escape_table includes/database.inc Restrict a dynamic tablename to safe characters. 3
db_connect includes/database.mysql.inc Initialize a database connection. 1
_db_query includes/database.mysql.inc Helper function for db_query(). 8
db_fetch_object includes/database.mysql.inc Fetch one result row from the previous query as an object. 49
db_fetch_array includes/database.mysql.inc Fetch one result row from the previous query as an array. 14
db_num_rows includes/database.mysql.inc Determine how many result rows were found by the preceding query. 1
db_result includes/database.mysql.inc Return an individual result field from the previous query. 37
db_error includes/database.mysql.inc Determine whether the previous query caused an error.
db_next_id includes/database.mysql.inc Return a new unique ID in the given sequence. 4
db_affected_rows includes/database.mysql.inc Determine the number of rows changed by the preceding query.

Pages

Other projects