Search for conditions

  1. Search 9.5.x for conditions
  2. Search 8.9.x for conditions
  3. Search 10.3.x for conditions
  4. Search 11.x for conditions
  5. Other projects
Title Object type File name Summary
callback_search_conditions function modules/search/search.api.php Provide search query conditions.
DatabaseCondition::$conditions property includes/database/query.inc Array of conditions.
DatabaseCondition::conditions function includes/database/query.inc Implements QueryConditionInterface::conditions().
DatabaseSelectCloneTest::testSelectConditionSubQueryCloning function modules/simpletest/tests/database_test.test Test that subqueries as value within conditions are cloned properly.
DatabaseSelectComplexTestCase::testNestedConditions function modules/simpletest/tests/database_test.test Confirm that we can properly nest conditional clauses.
DatabaseSelectSubqueryTestCase::testConditionSubquerySelect function modules/simpletest/tests/database_test.test Test that we can use a subquery in a WHERE clause.
DeleteQuery::conditions function includes/database/query.inc Implements QueryConditionInterface::conditions().
EntityFieldQuery::$entityConditions property includes/entity.inc Associative array of entity-generic metadata conditions.
EntityFieldQuery::$fieldConditions property includes/entity.inc List of field conditions.
EntityFieldQuery::$fieldMetaConditions property includes/entity.inc List of field meta conditions (language and delta).
EntityFieldQuery::$propertyConditions property includes/entity.inc List of property conditions.
EntityFieldQueryTestCase::testEntityFieldQueryMetaConditions function modules/simpletest/tests/entity_query.test Tests field meta conditions.
EntityLoadTestCase::testEntityLoadConditions function modules/simpletest/tests/entity_crud.test Tests the functionality for loading entities matching certain conditions.
FieldSqlStorageTestCase::testFieldSqlStorageMultipleConditionsDifferentColumns function modules/field/modules/field_sql_storage/field_sql_storage.test Test handling multiple conditions on multiple columns of one field.
FieldSqlStorageTestCase::testFieldSqlStorageMultipleConditionsDifferentColumnsMultipleLanguages function modules/field/modules/field_sql_storage/field_sql_storage.test Test handling multiple conditions on multiple columns of one field for multiple languages.
FieldSqlStorageTestCase::testFieldSqlStorageMultipleConditionsSameColumn function modules/field/modules/field_sql_storage/field_sql_storage.test Test handling multiple conditions on one column of a field.
MergeQuery::conditions function includes/database/query.inc Implements QueryConditionInterface::conditions().
QueryConditionInterface::conditions function includes/database/query.inc Gets a complete list of all conditions in this conditional clause.
SearchKeywordsConditions class modules/search/search.test Tests keywords and conditions.
SearchKeywordsConditions::$searching_user property modules/search/search.test
SearchKeywordsConditions::getInfo function modules/search/search.test
SearchKeywordsConditions::setUp function modules/search/search.test Sets up a Drupal site for running functional and integration tests.
SearchKeywordsConditions::testSearchKeyswordsConditions function modules/search/search.test Verify the kewords are captured and conditions respected.
SearchQuery::$conditions property modules/search/search.extender.inc Conditions that are used for exact searches.
search_extra_type_conditions function modules/search/tests/search_extra_type.module Test conditions callback for hook_search_info().
SelectQuery::conditions function includes/database/select.inc Gets a complete list of all conditions in this conditional clause.
SelectQuery::havingConditions function includes/database/select.inc
SelectQueryExtender::conditions function includes/database/select.inc Gets a complete list of all conditions in this conditional clause.
SelectQueryExtender::havingConditions function includes/database/select.inc
UpdateQuery::conditions function includes/database/query.inc Implements QueryConditionInterface::conditions().
_field_sql_storage_query_field_conditions function modules/field/modules/field_sql_storage/field_sql_storage.module Adds field (meta) conditions to the given query objects respecting groupings.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.