Related topics

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

Functions that call db_result()

Namesort iconLocationDescription
actions_function_lookupdrupal/includes/actions.incGiven an md5 hash of a function name, return the function name.
batch_example_batch_1contributions/docs/developer/examples/batch_example.moduleBatch 1 : Load 100 times the node with the lowest nid
batch_example_op_2contributions/docs/developer/examples/batch_example.moduleBatch operation for batch 2 : load all nodes, 5 by five This is a multipart operation, using the
book_admin_edit_submitdrupal/modules/book/book.admin.incHandle submission of the book administrative page form.
comment_multiple_delete_confirmdrupal/modules/comment/comment.admin.incList the selected comments and verify that the admin wants to delete them.
comment_new_page_countdrupal/modules/comment/comment.moduleCalculate page number for first new comment.
comment_nodeapi_search_resultdrupal/modules/comment/comment.moduleImplementation of hook_nodeapi_search_result().
comment_num_newdrupal/modules/comment/comment.moduleGet number of new comments for current user and specified node.
comment_num_repliesdrupal/modules/comment/comment.moduleGet replies count for a comment.
comment_savedrupal/modules/comment/comment.moduleAccepts a submission of new or changed comment content.
comment_unpublish_actiondrupal/modules/comment/comment.moduleDrupal action to unpublish a comment.
comment_validatedrupal/modules/comment/comment.moduleValidate comment data.
dblog_crondrupal/modules/dblog/dblog.moduleImplementation of hook_cron().
db_column_existsdrupal/includes/database/database.incCheck if a column exists in the given table.
db_last_insert_iddrupal/includes/database/database.incReturns the last insert id.
db_table_existsdrupal/includes/database/database.incCheck if a table exists.
do_searchdrupal/modules/search/search.moduleDo a query on the full-text search index for a word or words.
drupal_function_existsdrupal/includes/bootstrap.incConfirm that a function is available.
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_is_denieddrupal/includes/bootstrap.incCheck to see if an IP address has been blocked.
drupal_lookup_pathdrupal/includes/path.incGiven an alias, return its Drupal system URL if one exists. Given a Drupal system URL return one of its aliases if such a one exists. Otherwise, return FALSE.
drupal_session_countdrupal/includes/session.incCounts how many users are active on the site.
fileupload_file_downloadcontributions/docs/developer/examples/fileupload.moduleImplementation of hook_file_download.
fileupload_updatecontributions/docs/developer/examples/fileupload.moduleImplementation of hook_update().
file_space_useddrupal/includes/file.incDetermine total disk space used by a single user or the whole filesystem.
filter_admin_format_form_submitdrupal/modules/filter/filter.admin.incProcess filter format form submissions.
filter_format_allowcachedrupal/modules/filter/filter.moduleCheck if text in a certain input format is allowed to be cached.
flood_is_alloweddrupal/includes/common.incCheck if the current visitor (hostname/IP) is allowed to proceed with the specified event.
forum_nodeapi_presavedrupal/modules/forum/forum.moduleImplementation of hook_nodeapi_presave().
forum_nodeapi_updatedrupal/modules/forum/forum.moduleImplementation of hook_nodeapi_update().
forum_nodeapi_validatedrupal/modules/forum/forum.moduleImplementation of hook_nodeapi_validate().
hook_file_downloaddrupal/modules/system/system.api.phpControl access to private file downloads and specify HTTP headers.
hook_searchdrupal/modules/search/search.api.phpDefine a custom search routine.
install_verify_drupaldrupal/install.phpVerify if Drupal is installed.
locale_languages_predefined_form_validatedrupal/includes/locale.incValidate the language addition form.
locale_translate_edit_form_submitdrupal/includes/locale.incProcess string editing form submissions.
menu_delete_menu_confirmdrupal/modules/menu/menu.admin.incBuild a confirm form for deletion of a custom menu.
menu_delete_menu_confirm_submitdrupal/modules/menu/menu.admin.incDelete a custom menu and all items in it.
menu_edit_menu_submitdrupal/modules/menu/menu.admin.incSubmit function for adding or editing a custom menu.
menu_edit_menu_validatedrupal/modules/menu/menu.admin.incValidates the human and machine-readable names when adding or editing a menu.
menu_enabledrupal/modules/menu/menu.moduleImplementation of hook_enable().
menu_form_alterdrupal/modules/menu/menu.moduleImplementation of hook_form_alter(). Adds menu item fields to the node form.
menu_link_children_relative_depthdrupal/includes/menu.incFind the depth of an item's children relative to its depth.
menu_link_savedrupal/includes/menu.incSave a menu link.
menu_nodeapi_preparedrupal/modules/menu/menu.moduleImplementation of hook_nodeapi_prepare().
menu_reset_itemdrupal/modules/menu/menu.moduleReset a system-defined menu item.
nodeapi_example_nodeapicontributions/docs/developer/examples/nodeapi_example.moduleImplementation of hook_nodeapi().
node_accessdrupal/modules/node/node.moduleDetermine whether the current user may perform the given operation on the specified node.
node_access_example_nodeapi_loadcontributions/docs/developer/examples/node_access_example.module
node_access_view_all_nodesdrupal/modules/node/node.moduleDetermine whether the user has a global viewing grant for all nodes.
node_admin_nodesdrupal/modules/node/node.admin.incForm builder: Builds the node administration overview.
node_assign_owner_actiondrupal/modules/node/node.moduleImplementation of a configurable Drupal action. Assigns ownership of a node to a user.
node_configuredrupal/modules/node/node.admin.incMenu callback; presents general node configuration options.
node_menudrupal/modules/node/node.moduleImplementation of hook_menu().
node_page_defaultdrupal/modules/node/node.moduleMenu callback; Generate a listing of promoted nodes.
node_searchdrupal/modules/node/node.moduleImplementation of hook_search().
node_type_delete_confirmdrupal/modules/node/content_types.incMenu callback; delete a single content type.
node_type_savedrupal/modules/node/node.moduleSaves a node type to the database.
node_update_indexdrupal/modules/node/node.moduleImplementation of hook_update_index().
openid_associationdrupal/modules/openid/openid.moduleAttempt to create a shared secret with the OpenID Provider.
openid_user_delete_formdrupal/modules/openid/openid.pages.incMenu callback; Delete the specified OpenID identity from the system.
pager_querydrupal/includes/pager.incPerform a paged database query.
path_admin_form_validatedrupal/modules/path/path.admin.incVerify that a new URL alias is valid
path_admin_overviewdrupal/modules/path/path.admin.incReturn a listing of all defined URL aliases. When filter key passed, perform a standard search on the given key, and return the list of matching URL aliases.
path_form_alterdrupal/modules/path/path.moduleImplementation of hook_form_alter().
path_nodeapi_validatedrupal/modules/path/path.moduleImplementation of hook_nodeapi_validate().
path_set_aliasdrupal/modules/path/path.moduleSet an aliased path for a given Drupal path, preventing duplicates.
profile_autocompletedrupal/modules/profile/profile.pages.incCallback to allow autocomplete of profile text fields.
profile_category_accessdrupal/modules/profile/profile.moduleMenu item access callback - check if a user has access to a profile category.
profile_field_form_validatedrupal/modules/profile/profile.admin.incValidate profile_field_form submissions.
search_update_totalsdrupal/modules/search/search.moduleThis function is called on shutdown to ensure that search_total is always up to date (even if cron times out or otherwise fails).
simpletest_clean_results_tabledrupal/modules/simpletest/simpletest.moduleClear the test results tables.
system_admin_menu_blockdrupal/modules/system/system.moduleProvide a single block on the administration overview page.
system_admin_theme_submitdrupal/modules/system/system.moduleProcess admin theme form submissions.
system_initialize_theme_blocksdrupal/modules/system/system.moduleAssign an initial, default set of blocks for a theme.
system_region_listdrupal/modules/system/system.moduleGet a list of available regions from a specified theme.
translation_remove_from_setdrupal/modules/translation/translation.moduleRemove a node from its translation set (if any) and update the set accordingly.
trigger_assign_form_submitdrupal/modules/trigger/trigger.admin.incSubmit function for trigger_assign_form().
trigger_assign_form_validatedrupal/modules/trigger/trigger.admin.incValidation function for trigger_assign_form().
trigger_menudrupal/modules/trigger/trigger.moduleImplementation of hook_menu().
upload_space_useddrupal/modules/upload/upload.moduleDetermine how much disk space is occupied by a user's uploaded files.
upload_total_space_useddrupal/modules/upload/upload.moduleDetermine how much disk space is occupied by uploaded files.
user_multiple_role_editdrupal/modules/user/user.moduleCallback function for admin mass adding/deleting a user role.
user_savedrupal/modules/user/user.moduleSave changes to a user account or add a new user.
_aggregator_has_categoriesdrupal/modules/aggregator/aggregator.moduleFind out whether there are any aggregator categories.
_batch_pagedrupal/includes/batch.incState-based dispatcher for the batch processing page.
_blog_post_existsdrupal/modules/blog/blog.moduleHelper function to determine if a user has blog posts already.
_book_update_outlinedrupal/modules/book/book.moduleCommon helper function to handles additions and updates to the book outline.
_comment_update_node_statisticsdrupal/modules/comment/comment.moduleUpdates the comment statistics for a given node. This should be called any time a comment is added, deleted, or updated.
_forum_topics_unreaddrupal/modules/forum/forum.moduleCalculate the number of nodes the user has not yet read and are newer than NODE_NEW_LIMIT.
_locale_import_one_string_dbdrupal/includes/locale.incImport one string into the database.
_locale_parse_js_filedrupal/includes/locale.incParses a JavaScript file, extracts strings wrapped in Drupal.t() and Drupal.formatPlural() and inserts them into the database.
_menu_delete_itemdrupal/includes/menu.incHelper function for menu_link_delete; deletes a single menu link.
_menu_link_move_childrendrupal/includes/menu.incUpdate the children of a menu link that's being moved.
_menu_update_parental_statusdrupal/includes/menu.incCheck and update the has_children status for the parent of a link.
_node_access_rebuild_batch_operationdrupal/modules/node/node.moduleBatch operation for node_access_rebuild_batch.
_registry_check_codedrupal/includes/bootstrap.incHelper to check for a resource in the registry.
_sess_writedrupal/includes/session.incSession handler assigned by session_set_save_handler().