Functions

Primary tabs

Name Locationsort descending Description Direct uses Strings
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
system_default_date_formats drupal/includes/date.inc Provides a default system list of date formats for system_date_formats(). 1
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
file_get_stream_wrappers drupal/includes/file.inc Provides Drupal stream wrapper registry. 7 1
file_stream_wrapper_get_class drupal/includes/file.inc Returns the stream wrapper class name for a given scheme. 4
file_uri_scheme drupal/includes/file.inc Returns the scheme of a URI (e.g. a stream). 31
file_stream_wrapper_valid_scheme drupal/includes/file.inc Checks that the scheme of a stream URI is valid. 13
file_uri_target drupal/includes/file.inc Returns the part of a URI after the schema. 16
file_default_scheme drupal/includes/file.inc Gets the default file stream implementation. 20 15
file_stream_wrapper_uri_normalize drupal/includes/file.inc Normalizes a URI by making it syntactically correct. 6
file_stream_wrapper_get_instance_by_uri drupal/includes/file.inc Returns a reference to the stream wrapper class responsible for a given URI. 5
file_stream_wrapper_get_instance_by_scheme drupal/includes/file.inc Returns a reference to the stream wrapper class responsible for a scheme. 4
file_create_url drupal/includes/file.inc Creates a web-accessible URL for a stream to an external or local file. 37
file_prepare_directory drupal/includes/file.inc Checks that the directory exists and is writable. 24
file_ensure_htaccess drupal/includes/file.inc Creates a .htaccess file in each Drupal files directory if it is missing. 4

Pages

Other projects