Related topics

Namesort iconDescription
Database abstraction layerAllow the use of different database servers using the same code base.

Functions that call db_query()

Namesort iconLocationDescription
aggregator_blockdrupal/modules/aggregator.moduleImplementation of hook_block().
aggregator_crondrupal/modules/aggregator.moduleImplementation of hook_cron().
aggregator_menudrupal/modules/aggregator.moduleImplementation of hook_menu().
aggregator_page_categoriesdrupal/modules/aggregator.moduleMenu callback; displays all the categories used by the aggregator.
aggregator_page_categorydrupal/modules/aggregator.moduleMenu callback; displays all the items aggregated in a particular category.
aggregator_page_opmldrupal/modules/aggregator.moduleMenu callback; generates an OPML representation of all feeds.
aggregator_page_sourcedrupal/modules/aggregator.moduleMenu callback; displays all the items captured from a particular feed.
aggregator_page_sourcesdrupal/modules/aggregator.moduleMenu callback; displays all the feeds used by the aggregator.
aggregator_refreshdrupal/modules/aggregator.moduleChecks a news feed for new items.
archive_calendardrupal/modules/archive.moduleGenerates a monthly calendar, for display in the archive block.
block_admin_configuredrupal/modules/block.moduleMenu callback; displays the block configuration form.
block_blockdrupal/modules/block.moduleImplementation of hook_block().
block_box_deletedrupal/modules/block.moduleMenu callback; confirm and delete custom blocks.
block_listdrupal/modules/block.moduleReturn all blocks in the specied region for the current user. You may use this function to implement variable block regions. The default regions are 'left', 'right' and 'all', where 'all' means both left...
block_userdrupal/modules/block.moduleImplementation of hook_user().
blog_formdrupal/modules/blog.moduleImplementation of hook_form().
book_admin_orphandrupal/modules/book.moduleMenu callback; displays a listing of all orphaned book pages.
book_blockdrupal/modules/book.moduleImplementation of hook_block().
book_deletedrupal/modules/book.moduleImplementation of hook_delete().
book_insertdrupal/modules/book.moduleImplementation of hook_insert().
book_loaddrupal/modules/book.moduleImplementation of hook_load().
book_locationdrupal/modules/book.moduleReturn the path (call stack) to a certain book page.
book_menudrupal/modules/book.moduleImplementation of hook_menu().
book_nextdrupal/modules/book.moduleFetch the node object of the next page of the book.
book_nodeapidrupal/modules/book.moduleImplementation of hook_nodeapi().
book_outlinedrupal/modules/book.moduleImplementation of function book_outline() Handles all book outline operations.
book_prevdrupal/modules/book.moduleFetch the node object of the previous page of the book.
book_printdrupal/modules/book.moduleMenu callback; generates printer-friendly book page with all descendants.
book_renderdrupal/modules/book.moduleMenu callback; prints a listing of all books.
book_updatedrupal/modules/book.moduleImplementation of hook_update().
cache_clear_alldrupal/includes/bootstrap.incExpire data from the cache.
cache_getdrupal/includes/bootstrap.incReturn data from the persistent cache.
cache_setdrupal/includes/bootstrap.incStore data in the persistent cache.
comment_admin_editdrupal/modules/comment.moduleMenu callback; edit a comment from the administrative interface.
comment_configuredrupal/modules/comment.moduleMenu callback; presents the comment settings page.
comment_deletedrupal/modules/comment.moduleMenu callback; delete a comment.
comment_matrix_settingsdrupal/modules/comment.moduleMenu callback; presents the moderation vote matrix.
comment_nodeapidrupal/modules/comment.moduleImplementation of hook_nodeapi().
comment_num_newdrupal/modules/comment.moduleget number of new comments for current user and specified node
comment_role_settingsdrupal/modules/comment.moduleMenu callback; allows admin to set default scores for different roles.
comment_threshold_settingsdrupal/modules/comment.moduleMenu callback; displays settings for thresholds at which comments are displayed.
comment_vote_settingsdrupal/modules/comment.moduleMenu callback; displays page for assigning names to vote values.
db_next_iddrupal/includes/database.pgsql.incReturn a new unique ID in the given sequence.
do_searchdrupal/modules/search.moduleDo a query on the full-text search index for a word or words.
drupal_crondrupal/modules/drupal.moduleImplementation of hook_cron(); handles pings to and from the site.
drupal_directory_pagedrupal/modules/drupal.moduleFormats a list of all sites indexed in the directory.
drupal_directory_pingdrupal/modules/drupal.moduleCallback function from drupal_xmlrpc() called when another site pings this one.
drupal_get_filenamedrupal/includes/bootstrap.incReturns and optionally sets the filename for a system item (module, theme, etc.). The filename, whether provided, cached, or retrieved from the database, is only returned if the file exists.
drupal_get_path_mapdrupal/includes/bootstrap.incReturn an array mapping path aliases to their internal Drupal paths.
filter_admin_adddrupal/modules/filter.moduleAdd a new input format.
filter_admin_deletedrupal/modules/filter.moduleMenu callback; confirm deletion of a format.
filter_admin_filters_savedrupal/modules/filter.moduleSave enabled/disabled status for filters in a format.
filter_admin_order_savedrupal/modules/filter.moduleSave the weights of filters in a format.
filter_admin_savedrupal/modules/filter.moduleSave input formats on the overview page.
filter_formatsdrupal/modules/filter.moduleRetrieve a list of input formats.
filter_format_allowcachedrupal/modules/filter.moduleCheck if text in a certain input format is allowed to be cached.
filter_list_formatdrupal/modules/filter.moduleRetrieve a list of filters for a certain format.
flood_is_alloweddrupal/includes/common.incCheck if the current visitor (hostname/IP) is allowed to proceed with the specified event. The user is allowed to proceed if he did not trigger the specified event more than $threshold times per hour.
flood_register_eventdrupal/includes/common.incRegister an event for the current visitor (hostname/IP) to the flood control mechanism.
forum_deletedrupal/modules/forum.moduleImplementation of hook_delete().
forum_get_forumsdrupal/modules/forum.moduleReturns a list of all forums for a given taxonomy id
forum_insertdrupal/modules/forum.moduleImplementation of hook_insert().
forum_linkdrupal/modules/forum.moduleImplementation of hook_link().
forum_loaddrupal/modules/forum.moduleImplementation of hook_load().
forum_taxonomydrupal/modules/forum.moduleImplementation of hook_taxonomy().
forum_updatedrupal/modules/forum.moduleImplementation of hook_update().
forum_validatedrupal/modules/forum.moduleImplementation of hook_validate().
hook_croncontributions/docs/developer/hooks/core.phpPerform periodic actions.
hook_deletecontributions/docs/developer/hooks/node.phpRespond to node deletion.
hook_exitcontributions/docs/developer/hooks/core.phpPerform cleanup tasks.
hook_initcontributions/docs/developer/hooks/core.phpPerform setup tasks.
hook_insertcontributions/docs/developer/hooks/node.phpRespond to node insertion.
hook_loadcontributions/docs/developer/hooks/node.phpLoad node-type-specific information.
hook_updatecontributions/docs/developer/hooks/node.phpRespond to node updating.
list_themesdrupal/includes/theme.incProvides a list of currently available themes.
list_theme_enginesdrupal/includes/theme.incProvides a list of currently available theme engines
localedrupal/modules/locale.moduleProvides interface translation services
locale_admin_managedrupal/modules/locale.modulePage handler for the language management screen
locale_admin_manage_adddrupal/modules/locale.modulePage handler for the language addition screen
locale_admin_manage_delete_screendrupal/modules/locale.moduleUser interface for the language deletion confirmation screen
locale_admin_stringdrupal/modules/locale.modulePage handler for the string search and administration screen
locale_refresh_cachedrupal/modules/locale.moduleRefreshes database stored cache of translations
locale_supported_languagesdrupal/modules/locale.moduleReturns list of languages supported on this site
menu_delete_itemdrupal/modules/menu.moduleMenu callback; delete a single custom item.
menu_disable_itemdrupal/modules/menu.moduleMenu callback; hide a menu item.
menu_edit_itemdrupal/modules/menu.moduleMenu callback; dispatch to the appropriate menu item edit function.
menu_edit_item_savedrupal/modules/menu.moduleSave changes to a menu item into the database.
menu_rebuilddrupal/includes/menu.incPopulate the database representation of the menu.
menu_resetdrupal/modules/menu.moduleMenu callback; clear the database, resetting the menu to factory defaults.
menu_reset_itemdrupal/modules/menu.moduleMenu callback; reset a single modified item.
module_listdrupal/includes/module.incCollect a list of all loaded modules. During the bootstrap, return only vital modules. See bootstrap.inc
nodeapi_example_nodeapicontributions/docs/developer/examples/nodeapi_example.moduleImplementation of hook_nodeapi().
node_accessdrupal/modules/node.moduleDetermine whether the current user may perform the given operation on the specified node.
node_access_example_nodeapicontributions/docs/developer/examples/node_access_example.moduleImplementation of hook_nodeapi().
node_access_view_all_nodesdrupal/modules/node.moduleDetermine whether the user has a global viewing grant for all nodes.
node_admin_nodesdrupal/modules/node.moduleGenerate the content administration overview.
node_comment_modedrupal/modules/node.moduleRetrieve the comment mode for the given node ID (none, read, or read/write).
node_crondrupal/modules/node.moduleImplementation of hook_cron().
node_deletedrupal/modules/node.moduleAsk for confirmation, and delete the node.
node_example_deletecontributions/docs/developer/examples/node_example.moduleImplementation of hook_delete().
node_example_insertcontributions/docs/developer/examples/node_example.moduleImplementation of hook_insert().
node_example_loadcontributions/docs/developer/examples/node_example.moduleImplementation of hook_load().
node_example_updatecontributions/docs/developer/examples/node_example.moduleImplementation of hook_update().
node_last_vieweddrupal/modules/node.moduleRetrieves the timestamp at which the current user last viewed the specified node.
node_loaddrupal/modules/node.moduleLoad a node object from the database.
node_pagedrupal/modules/node.moduleMenu callback; dispatches control to the appropriate operation handler.
node_savedrupal/modules/node.moduleSave a node object into the database.
node_searchdrupal/modules/node.moduleImplementation of hook_search().
node_tag_newdrupal/modules/node.moduleUpdate the 'last viewed' timestamp of the specified node for current user.
pager_querydrupal/includes/pager.incPerform a paged database query.
path_admin_deletedrupal/modules/path.moduleMenu callback; handles deletion of an URL alias.
path_loaddrupal/modules/path.moduleFetch a specific URL alias from the database.
path_nodeapidrupal/modules/path.moduleImplementation of hook_nodeapi().
path_savedrupal/modules/path.moduleVerify that a new URL alias is valid, and save it to the database.
path_set_aliasdrupal/modules/path.moduleSet an aliased path for a given Drupal path, preventing duplicates.
ping_crondrupal/modules/ping.moduleImplementation of hook_cron().
poll_blockdrupal/modules/poll.moduleImplementation of hook_block().
poll_crondrupal/modules/poll.moduleImplementation of hook_cron().
poll_deletedrupal/modules/poll.moduleImplementation of hook_delete().
poll_loaddrupal/modules/poll.moduleImplementation of hook_load().
poll_updatedrupal/modules/poll.moduleImplementation of hook_update().
poll_votedrupal/modules/poll.moduleCallback for processing a vote
profile_admin_adddrupal/modules/profile.moduleMenu callback; adds a new field to all user profiles.
profile_admin_deletedrupal/modules/profile.moduleMenu callback; deletes a field from all user profiles.
profile_admin_editdrupal/modules/profile.moduleMenu callback; displays the profile field editing form.
profile_admin_overviewdrupal/modules/profile.moduleMenu callback; display a listing of all editable profile fields.
profile_browsedrupal/modules/profile.moduleMenu callback; display a list of user information.
queue_nodeapidrupal/modules/queue.moduleImplementation of hook_nodeapi().
search_crondrupal/modules/search.moduleImplementation of hook_cron().
search_indexdrupal/modules/search.moduleUpdate the full-text search index for a particular item.
search_wipedrupal/modules/search.moduleWipes a part of or the entire search index.
statistics_crondrupal/modules/statistics.moduleImplementation of hook_cron().
statistics_exitdrupal/modules/statistics.moduleImplementation of hook_exit().
statistics_getdrupal/modules/statistics.moduleRetrieves a node's "view statistics".
statistics_nodeapidrupal/modules/statistics.moduleImplementation of hook_nodeapi().
system_get_files_databasedrupal/modules/system.moduleRetrieves the current status of an array of files in the system table.
system_module_listingdrupal/modules/system.moduleGenerate a list of all the available modules, as well as update the system list.
system_theme_datadrupal/modules/system.moduleCollect data about all currently available themes
taxonomy_get_childrendrupal/modules/taxonomy.moduleFind all children of a term ID.
taxonomy_get_parentsdrupal/modules/taxonomy.moduleFind all parents of a given term ID.
taxonomy_get_relateddrupal/modules/taxonomy.moduleFind all term objects related to a given term ID.
taxonomy_get_synonymsdrupal/modules/taxonomy.moduleReturn an array of synonyms of the given term ID.
taxonomy_get_synonym_rootdrupal/modules/taxonomy.moduleReturn the term object that has the given string as a synonym.
taxonomy_get_termdrupal/modules/taxonomy.moduleReturn the term object matching a term ID.
taxonomy_get_term_by_namedrupal/modules/taxonomy.moduleTry to map a string to an existing term, as for glossary use.
taxonomy_get_treedrupal/modules/taxonomy.moduleCreate a hierarchical representation of a vocabulary.
taxonomy_get_vocabulariesdrupal/modules/taxonomy.moduleReturn an array of all vocabulary objects.
taxonomy_get_vocabularydrupal/modules/taxonomy.moduleReturn the vocabulary object matching a vocabulary ID.
taxonomy_node_deletedrupal/modules/taxonomy.moduleRemove associations of a node to its terms.
taxonomy_node_formdrupal/modules/taxonomy.moduleGenerate a form for selecting terms to associate with a node.
taxonomy_node_get_termsdrupal/modules/taxonomy.moduleFind all terms associated to the given node.
taxonomy_node_get_terms_by_vocabularydrupal/modules/taxonomy.moduleFind all terms associated to the given node, within one vocabulary.
taxonomy_node_savedrupal/modules/taxonomy.moduleSave term associations for a given node.
taxonomy_term_count_nodesdrupal/modules/taxonomy.moduleGiven a term id, count the number of published nodes in it.
taxonomy_term_pagedrupal/modules/taxonomy.moduleMenu callback; displays all nodes associated with a term.
theme_aggregator_page_itemdrupal/modules/aggregator.moduleFormat an individual feed item for display on the aggregator page.
throttle_exitdrupal/modules/throttle.moduleImplementation of hook_exit().
user_accessdrupal/modules/user.moduleDetermine whether the user has a given privilege.
user_admin_accessdrupal/modules/user.moduleMenu callback: list all access rules
user_admin_access_adddrupal/modules/user.moduleMenu callback: add an access rule
user_admin_access_deletedrupal/modules/user.moduleMenu callback: delete an access rule
user_admin_access_editdrupal/modules/user.moduleMenu callback: edit an access rule
user_admin_permdrupal/modules/user.moduleMenu callback: administer permissions.
user_admin_roledrupal/modules/user.moduleMenu callback: administer roles.
user_blockdrupal/modules/user.moduleImplementation of hook_block().
user_get_authmapsdrupal/modules/user.moduleAccepts an user object, $account, or a DA name and returns an associative array of modules and DA names. Called at external login.
user_get_authnamedrupal/modules/user.moduleCalled by authentication modules in order to edit/view their authmap information.
user_loaddrupal/modules/user.moduleFetch a user object.
user_savedrupal/modules/user.moduleSave changes to a user account.
variable_deldrupal/includes/bootstrap.incUnset a persistent variable.
variable_initdrupal/includes/bootstrap.incLoad the persistent variable table.
variable_setdrupal/includes/bootstrap.incSet a persistent variable.
watchdogdrupal/includes/bootstrap.incLog a system message.
watchdog_crondrupal/modules/watchdog.moduleImplementation of hook_cron().
watchdog_eventdrupal/modules/watchdog.moduleMenu callback; displays details about a log message.
_aggregator_page_listdrupal/modules/aggregator.modulePrints an aggregator page listing a number of feed items. Various menu callbacks use this function to print their feeds.
_block_rehashdrupal/modules/block.moduleUpdate the 'blocks' DB table with the blocks currently exported by modules.
_comment_update_node_statisticsdrupal/modules/comment.moduleUpdates the comment statistics for a given node. This should be called any time a comment is added, deleted, or updated.
_filter_tipsdrupal/modules/filter.moduleHelper function for fetching filter tips.
_forum_get_viddrupal/modules/forum.moduleReturns the vocabulary id for forum navigation.
_locale_add_languagedrupal/includes/locale.incHelper function to add a language
_locale_admin_manage_screendrupal/includes/locale.incUser interface for the language management screen
_locale_export_podrupal/includes/locale.incExports a Portable Object (Template) file for a language
_locale_import_podrupal/includes/locale.incParses Gettext Portable Object file information and inserts into database
_locale_string_editdrupal/includes/locale.incUser interface for string editing
_locale_string_savedrupal/includes/locale.incAction handler for string editing
_menu_builddrupal/includes/menu.incBuild the menu by querying both modules and the database.
_taxonomy_term_childrendrupal/modules/taxonomy.moduleHelper for taxonomy_term_count_nodes().

Functions called by db_query()

Namesort iconLocationDescription
db_prefix_tablesdrupal/includes/database.incAppend a database prefix to all tables in a query.
_db_querydrupal/includes/database.pgsql.incHelper function for db_query().