Search for conditions

Classes

NameLocationDescription
SearchKeywordsConditionsmodules/search/search.testTests keywords and conditions.

Functions & methods

NameLocationDescription
DatabaseSelectComplexTestCase::testNestedConditionsmodules/simpletest/tests/database_test.testConfirm that we can properly nest conditional clauses.
DatabaseSelectSubqueryTestCase::testConditionSubquerySelectmodules/simpletest/tests/database_test.testTest that we can use a subquery in a WHERE clause.
EntityAPIControllerExportable::applyConditionsincludes/entity.controller.inc
EntityFieldQueryTestCase::testEntityFieldQueryMetaConditionsmodules/simpletest/tests/entity_query.testTests field meta conditions.
i18n_select_check_conditionsi18n_select/i18n_select.moduleCheck all query conditions have a table alias
QueryConditionInterface::conditionsincludes/database/query.incGets a complete list of all conditions in this conditional clause.
sample_search_conditions_callbackmodules/search/search.api.phpAn example conditions callback function for search.
SearchKeywordsConditions::getInfomodules/search/search.test
SearchKeywordsConditions::testSearchKeyswordsConditionsmodules/search/search.testVerify the kewords are captured and conditions respected.
search_extra_type_conditionsmodules/search/tests/search_extra_type.moduleTest conditions callback for hook_search_info().
SelectQuery::conditionsincludes/database/select.inc
SelectQuery::havingConditionsincludes/database/select.inc
SelectQueryExtender::conditionsincludes/database/select.inc
SelectQueryExtender::havingConditionsincludes/database/select.inc
_field_sql_storage_query_field_conditionsmodules/field/modules/field_sql_storage/field_sql_storage.moduleAdds field (meta) conditions to the given query objects respecting groupings.

Properties

NameLocationDescription
DatabaseCondition::$conditionsincludes/database/query.incArray of conditions.
EntityFieldQuery::$entityConditionsincludes/entity.incAssociative array of entity-generic metadata conditions.
EntityFieldQuery::$fieldConditionsincludes/entity.incList of field conditions.
EntityFieldQuery::$fieldMetaConditionsincludes/entity.incList of field meta conditions (language and delta).
EntityFieldQuery::$propertyConditionsincludes/entity.incList of property conditions.
SearchQuery::$conditionsmodules/search/search.extender.incConditions that are used for exact searches.