Functions

Primary tabs

Name Location Description Direct uses Stringssort descending
authorize_access_denied_page drupal/core/authorize.php Renders a 403 access denied page for authorize.php. 1
authorize_access_allowed drupal/core/authorize.php Determines if the current user is allowed to run authorize.php. 1
db_query_temporary drupal/core/includes/database.inc Executes a query string and saves the result set to a temporary table. 2
db_insert drupal/core/includes/database.inc Returns a new InsertQuery object for the active database. 3
db_merge drupal/core/includes/database.inc Returns a new MergeQuery object for the active database.
db_update drupal/core/includes/database.inc Returns a new UpdateQuery object for the active database.
db_delete drupal/core/includes/database.inc Returns a new DeleteQuery object for the active database. 1
db_truncate drupal/core/includes/database.inc Returns a new TruncateQuery object for the active database. 2
db_select drupal/core/includes/database.inc Returns a new SelectQuery object for the active database. 98
db_transaction drupal/core/includes/database.inc Returns a new transaction object for the active database. 6
db_set_active drupal/core/includes/database.inc Sets a new active database. 5
db_escape_table drupal/core/includes/database.inc Restricts a dynamic table name to safe characters.
db_escape_field drupal/core/includes/database.inc Restricts a dynamic column or constraint name to safe characters.
db_like drupal/core/includes/database.inc Escapes characters that work as wildcard characters in a LIKE pattern. 16
db_driver drupal/core/includes/database.inc Retrieves the name of the currently active database driver.
db_close drupal/core/includes/database.inc Closes the active database connection. 1
db_next_id drupal/core/includes/database.inc Retrieves a unique id. 2
db_or drupal/core/includes/database.inc Returns a new DatabaseCondition, set to "OR" all conditions together. 18
db_and drupal/core/includes/database.inc Returns a new DatabaseCondition, set to "AND" all conditions together. 7
db_xor drupal/core/includes/database.inc Returns a new DatabaseCondition, set to "XOR" all conditions together.
db_condition drupal/core/includes/database.inc Returns a new DatabaseCondition, set to the specified conjunction.
db_create_table drupal/core/includes/database.inc Creates a new table from a Drupal table definition. 27
db_field_names drupal/core/includes/database.inc Returns an array of field names from an array of key/index column specifiers.
db_index_exists drupal/core/includes/database.inc Checks if an index exists in the given table. 2
db_table_exists drupal/core/includes/database.inc Checks if a table exists. 19
db_field_exists drupal/core/includes/database.inc Checks if a column exists in the given table. 15
db_find_tables drupal/core/includes/database.inc Finds all tables that are like the specified base table name. 3
_db_create_keys_sql drupal/core/includes/database.inc
db_rename_table drupal/core/includes/database.inc Renames a table. 6
db_drop_table drupal/core/includes/database.inc Drops a table. 21
db_add_field drupal/core/includes/database.inc Adds a new field to a table. 22
db_drop_field drupal/core/includes/database.inc Drops a field. 12
db_field_set_default drupal/core/includes/database.inc Sets the default value for a field. 1
db_field_set_no_default drupal/core/includes/database.inc Sets a field to have no default value. 1
db_add_primary_key drupal/core/includes/database.inc Adds a primary key to a database table. 4
db_drop_primary_key drupal/core/includes/database.inc Drops the primary key of a database table. 8
db_add_unique_key drupal/core/includes/database.inc Adds a unique key.
db_drop_unique_key drupal/core/includes/database.inc Drops a unique key. 1
db_add_index drupal/core/includes/database.inc Adds an index. 5
db_drop_index drupal/core/includes/database.inc Drops an index. 12
db_change_field drupal/core/includes/database.inc Changes a field definition. 25
db_ignore_slave drupal/core/includes/database.inc Sets a session variable specifying the lag time for ignoring a slave server. 6
unicode_requirements drupal/core/includes/unicode.inc Returns Unicode library status and errors. 1
drupal_xml_parser_create drupal/core/includes/unicode.inc Prepares a new XML parser. 2
drupal_convert_to_utf8 drupal/core/includes/unicode.inc Converts data to UTF-8. 1
drupal_truncate_bytes drupal/core/includes/unicode.inc Truncates a UTF-8-encoded string safely to a number of bytes.
truncate_utf8 drupal/core/includes/unicode.inc Truncates a UTF-8-encoded string safely to a number of characters. 18
mime_header_encode drupal/core/includes/unicode.inc Encodes MIME/HTTP header values that contain incorrectly encoded characters. 2
mime_header_decode drupal/core/includes/unicode.inc Decodes MIME/HTTP encoded header values.
decode_entities drupal/core/includes/unicode.inc Decodes all HTML entities (including numerical ones) to regular UTF-8 bytes. 24

Pages

Other projects