Functions - 7.x - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
database_test_theme_tablesort modules/simpletest/tests/database_test.module Output a form without setting a header sort. 1
date_iso8601 includes/common.inc Returns an ISO8601 formatted date based on the given date. 5
date_validate includes/form.inc Validates the date type to prevent invalid dates (e.g., February 30, 2006). 1
dblog_build_filter_query modules/dblog/dblog.admin.inc Builds a query for database log administration filters based on session. 1
dblog_clear_log_form modules/dblog/dblog.admin.inc Form constructor for the form that clears out the log. 1
dblog_clear_log_submit modules/dblog/dblog.admin.inc Form submission handler for dblog_clear_log_form(). 1
dblog_cron modules/dblog/dblog.module Implements hook_cron().
dblog_event modules/dblog/dblog.admin.inc Page callback: Displays details about a specific database log message. 1
dblog_filters modules/dblog/dblog.admin.inc Creates a list of database log administration filters that can be applied. 3
dblog_filter_form modules/dblog/dblog.admin.inc Form constructor for the database logging filter form. 1
dblog_filter_form_submit modules/dblog/dblog.admin.inc Form submission handler for dblog_filter_form().
dblog_filter_form_validate modules/dblog/dblog.admin.inc Form validation handler for dblog_filter_form().
dblog_form_system_logging_settings_alter modules/dblog/dblog.module Implements hook_form_FORM_ID_alter() for system_logging_settings().
dblog_help modules/dblog/dblog.module Implements hook_help().
dblog_init modules/dblog/dblog.module Implements hook_init().
dblog_menu modules/dblog/dblog.module Implements hook_menu().
dblog_overview modules/dblog/dblog.admin.inc Page callback: Displays a listing of database log messages. 1
dblog_schema modules/dblog/dblog.install Implements hook_schema().
dblog_theme modules/dblog/dblog.module Implements hook_theme().
dblog_top modules/dblog/dblog.admin.inc Page callback: Shows the most frequent log messages of a given event type. 1
dblog_uninstall modules/dblog/dblog.install Implements hook_uninstall().
dblog_update_7001 modules/dblog/dblog.install Update the {watchdog} table.
dblog_update_7002 modules/dblog/dblog.install Add an index to the severity column in the watchdog database table.
dblog_update_7003 modules/dblog/dblog.install Account for possible legacy systems where dblog was not installed.
dblog_watchdog modules/dblog/dblog.module Implements hook_watchdog(). 5
db_add_field includes/database/database.inc Adds a new field to a table. 26
db_add_index includes/database/database.inc Adds an index. 34
db_add_primary_key includes/database/database.inc Adds a primary key to a database table. 6
db_add_unique_key includes/database/database.inc Adds a unique key. 4
db_and includes/database/database.inc Returns a new DatabaseCondition, set to "AND" all conditions together. 2
db_change_field includes/database/database.inc Changes a field definition. 59
db_close includes/database/database.inc Closes the active database connection. 1
db_condition includes/database/database.inc Returns a new DatabaseCondition, set to the specified conjunction. 1
db_create_table includes/database/database.inc Creates a new table from a Drupal table definition. 37
db_delete includes/database/database.inc Returns a new DeleteQuery object for the active database. 3
db_driver includes/database/database.inc Retrieves the name of the currently active database driver. 2
db_drop_field includes/database/database.inc Drops a field. 19
db_drop_index includes/database/database.inc Drops an index. 22
db_drop_primary_key includes/database/database.inc Drops the primary key of a database table. 8
db_drop_table includes/database/database.inc Drops a table. 25
db_drop_unique_key includes/database/database.inc Drops a unique key. 6
db_escape_field includes/database/database.inc Restricts a dynamic column or constraint name to safe characters.
db_escape_table includes/database/database.inc Restricts a dynamic table name to safe characters. 1
db_field_exists includes/database/database.inc Checks if a column exists in the given table. 7
db_field_names includes/database/database.inc Returns an array of field names from an array of key/index column specifiers.
db_field_set_default includes/database/database.inc Sets the default value for a field. 1
db_field_set_no_default includes/database/database.inc Sets a field to have no default value. 1
db_find_tables includes/database/database.inc Finds all tables that are like the specified base table name.
db_find_tables_d8 includes/database/database.inc Finds all tables that are like the specified base table name. This is a backport of the change made to db_find_tables in Drupal 8 to work with virtual, un-prefixed table names. The original function is retained for Backwards Compatibility. 3
db_ignore_slave includes/database/database.inc Sets a session variable specifying the lag time for ignoring a slave server. 2

Other projects


Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.