Skip navigation
Help

Search for conditions

Classes

NameLocationDescription
SearchKeywordsConditionsdrupal/modules/search/search.testTests keywords and conditions.

Functions & methods

NameLocationDescription
ca_add_conditionsubercart/uc_store/includes/ca.incReads a predicate's conditions array and add them to a component.
ca_extract_conditionsubercart/uc_store/includes/ca.incSaves the conditions of the predicate as a separate component.
DatabaseCondition::conditionsdrupal/includes/database/query.incImplements QueryConditionInterface::conditions().
DatabaseSelectComplexTestCase::testNestedConditionsdrupal/modules/simpletest/tests/database_test.testConfirm that we can properly nest conditional clauses.
DatabaseSelectSubqueryTestCase::testConditionSubquerySelectdrupal/modules/simpletest/tests/database_test.testTest that we can use a subquery in a WHERE clause.
DeleteQuery::conditionsdrupal/includes/database/query.incImplements QueryConditionInterface::conditions().
EntityFieldQueryTestCase::testEntityFieldQueryMetaConditionsdrupal/modules/simpletest/tests/entity_query.testTests field meta conditions.
MergeQuery::conditionsdrupal/includes/database/query.incImplements QueryConditionInterface::conditions().
QueryConditionInterface::conditionsdrupal/includes/database/query.incGets a complete list of all conditions in this conditional clause.
sample_search_conditions_callbackdrupal/modules/search/search.api.phpAn example conditions callback function for search.
SearchKeywordsConditions::getInfodrupal/modules/search/search.test
SearchKeywordsConditions::setUpdrupal/modules/search/search.testGenerates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
SearchKeywordsConditions::testSearchKeyswordsConditionsdrupal/modules/search/search.testVerify the kewords are captured and conditions respected.
search_extra_type_conditionsdrupal/modules/search/tests/search_extra_type.moduleTest conditions callback for hook_search_info().
SelectQuery::conditionsdrupal/includes/database/select.inc
SelectQuery::havingConditionsdrupal/includes/database/select.inc
SelectQueryExtender::conditionsdrupal/includes/database/select.inc
SelectQueryExtender::havingConditionsdrupal/includes/database/select.inc
UpdateQuery::conditionsdrupal/includes/database/query.incImplements QueryConditionInterface::conditions().
_field_sql_storage_query_field_conditionsdrupal/modules/field/modules/field_sql_storage/field_sql_storage.moduleAdds field (meta) conditions to the given query objects respecting groupings.

Properties

NameLocationDescription
DatabaseCondition::$conditionsdrupal/includes/database/query.incArray of conditions.
EntityFieldQuery::$entityConditionsdrupal/includes/entity.incAssociative array of entity-generic metadata conditions.
EntityFieldQuery::$fieldConditionsdrupal/includes/entity.incList of field conditions.
EntityFieldQuery::$fieldMetaConditionsdrupal/includes/entity.incList of field meta conditions (language and delta).
EntityFieldQuery::$propertyConditionsdrupal/includes/entity.incList of property conditions.
SearchQuery::$conditionsdrupal/modules/search/search.extender.incConditions that are used for exact searches.