db_or

  1. drupal
    1. drupal7
Versionen
drupal7 db_or()

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

Verwandte Themen

▾ 15 functions call db_or()

DatabaseSelectComplexTestCase::testNestedConditions in modules/simpletest/tests/database_test.test
Confirm that we can properly nest conditional clauses.
DatabaseUpdateComplexTestCase::testOrConditionUpdate in modules/simpletest/tests/database_test.test
Test updates with OR conditionals.
filter_formats in modules/filter/filter.module
Retrieve a list of text formats.
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
Implementation of hook_query_TAG_alter().
statistics_node_tracker in modules/statistics/statistics.pages.inc
taxonomy_term_delete in modules/taxonomy/taxonomy.module
Delete a term.
taxonomy_term_save in modules/taxonomy/taxonomy.module
Save a term object to the database.
tracker_page in modules/tracker/tracker.pages.inc
Menu callback. Prints a listing of active nodes on the site.
user_build_filter_query in modules/user/user.module
Extends a query object for user administration filters based on session.
user_search in modules/user/user.module
Implementation of hook_search().
_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 1239

<?php
function db_or() {
  return new DatabaseCondition('OR');
}
?>

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen