db_or

Versions
7
db_or()

Returns a new DatabaseCondition, set to "OR" all conditions together.

Related topics

▾ 13 functions call db_or()

hook_query_TAG_alter in modules/system/system.api.php
Perform alterations to a structured query for a given tag.
node_access in modules/node/node.module
Determine whether the current user may perform the given operation on the specified node.
node_access_view_all_nodes in modules/node/node.module
Determine whether the user has a global viewing grant for all nodes.
node_query_node_access_alter in modules/node/node.module
Implement hook_query_TAG_alter().
search_update_totals in modules/search/search.module
This function is called on shutdown to ensure that search_total is always up to date (even if cron times out or otherwise fails).
statistics_node_tracker in modules/statistics/statistics.pages.inc
system_update_files_database in modules/system/system.module
Updates the records in the system table based on the files array.
taxonomy_autocomplete in modules/taxonomy/taxonomy.pages.inc
Helper function for autocompletion
user_build_filter_query in modules/user/user.module
Extends a query object for user administration filters based on session.
user_search_execute in modules/user/user.module
Implement hook_search_execute().
_locale_translate_seek in includes/locale.inc
Perform a string search and display results in a table
_menu_navigation_links_rebuild in includes/menu.inc
Helper function to build menu links for the items in the menu router.
_update_authorize_clear_update_status in modules/update/update.authorize.inc
Private helper function to clear cached available update status data.

Code

includes/database/query.inc, line 1353

<?php
function db_or() {
  return new DatabaseCondition('OR');
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.