db_and

Versions
7
db_and()

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

Related topics

▾ 6 functions call db_and()

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().
_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.

Code

includes/database/query.inc, line 1360

<?php
function db_and() {
  return new DatabaseCondition('AND');
}
?>
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.