Functions

Primary tabs

Name Locationsort ascending Description Direct uses Strings
drupal_error_levels drupal/includes/errors.inc Maps PHP error constants to watchdog severity levels. 1
_drupal_error_handler_real drupal/includes/errors.inc Provides custom PHP error handling. 1
_drupal_decode_exception drupal/includes/errors.inc Decodes an exception and retrieves the correct caller. 5
_drupal_render_exception_safe drupal/includes/errors.inc Renders an exception error message without further exceptions. 3
error_displayable drupal/includes/errors.inc Determines whether an error should be displayed. 4
_drupal_log_error drupal/includes/errors.inc Logs a PHP error or exception and displays an error page in fatal cases. 2
_drupal_get_last_caller drupal/includes/errors.inc Gets the last caller from a backtrace. 5
system_default_date_formats drupal/includes/date.inc Provides a default system list of date formats for system_date_formats(). 1
db_query drupal/includes/database/database.inc Executes an arbitrary query string against the active database. 128 2
db_query_range drupal/includes/database/database.inc Executes a query against the active database, restricted to a range. 13 1
db_query_temporary drupal/includes/database/database.inc Executes a SELECT query string and saves the result set to a temporary table. 2
db_insert drupal/includes/database/database.inc Returns a new InsertQuery object for the active database. 3
db_merge drupal/includes/database/database.inc Returns a new MergeQuery object for the active database.
db_update drupal/includes/database/database.inc Returns a new UpdateQuery object for the active database. 1
db_delete drupal/includes/database/database.inc Returns a new DeleteQuery object for the active database. 3
db_truncate drupal/includes/database/database.inc Returns a new TruncateQuery object for the active database. 1
db_select drupal/includes/database/database.inc Returns a new SelectQuery object for the active database. 113
db_transaction drupal/includes/database/database.inc Returns a new transaction object for the active database. 17
db_set_active drupal/includes/database/database.inc Sets a new active database. 2
db_escape_table drupal/includes/database/database.inc Restricts a dynamic table name to safe characters. 1
db_escape_field drupal/includes/database/database.inc Restricts a dynamic column or constraint name to safe characters.
db_like drupal/includes/database/database.inc Escapes characters that work as wildcard characters in a LIKE pattern. 6
db_driver drupal/includes/database/database.inc Retrieves the name of the currently active database driver. 2
db_close drupal/includes/database/database.inc Closes the active database connection. 1
db_next_id drupal/includes/database/database.inc Retrieves a unique id. 4
db_or drupal/includes/database/database.inc Returns a new DatabaseCondition, set to "OR" all conditions together. 10
db_and drupal/includes/database/database.inc Returns a new DatabaseCondition, set to "AND" all conditions together. 2
db_xor drupal/includes/database/database.inc Returns a new DatabaseCondition, set to "XOR" all conditions together.
db_condition drupal/includes/database/database.inc Returns a new DatabaseCondition, set to the specified conjunction. 1
db_create_table drupal/includes/database/database.inc Creates a new table from a Drupal table definition. 37
db_field_names drupal/includes/database/database.inc Returns an array of field names from an array of key/index column specifiers.
db_index_exists drupal/includes/database/database.inc Checks if an index exists in the given table. 9
db_table_exists drupal/includes/database/database.inc Checks if a table exists. 24
db_field_exists drupal/includes/database/database.inc Checks if a column exists in the given table. 6
db_find_tables drupal/includes/database/database.inc Finds all tables that are like the specified base table name. 3
_db_create_keys_sql drupal/includes/database/database.inc
db_rename_table drupal/includes/database/database.inc Renames a table. 14
db_drop_table drupal/includes/database/database.inc Drops a table. 25
db_add_field drupal/includes/database/database.inc Adds a new field to a table. 25
db_drop_field drupal/includes/database/database.inc Drops a field. 19
db_field_set_default drupal/includes/database/database.inc Sets the default value for a field. 1
db_field_set_no_default drupal/includes/database/database.inc Sets a field to have no default value. 1
db_add_primary_key drupal/includes/database/database.inc Adds a primary key to a database table. 6
db_drop_primary_key drupal/includes/database/database.inc Drops the primary key of a database table. 7
db_add_unique_key drupal/includes/database/database.inc Adds a unique key. 3
db_drop_unique_key drupal/includes/database/database.inc Drops a unique key. 6
db_add_index drupal/includes/database/database.inc Adds an index. 33
db_drop_index drupal/includes/database/database.inc Drops an index. 21
db_change_field drupal/includes/database/database.inc Changes a field definition. 57
db_ignore_slave drupal/includes/database/database.inc Sets a session variable specifying the lag time for ignoring a slave server. 2

Pages

Other projects