class ViewsSearchQuery

Same name in this branch
  1. 9 core/modules/search/src/ViewsSearchQuery.php \Drupal\search\ViewsSearchQuery
Same name and namespace in other branches
  1. 11.x core/modules/search/src/ViewsSearchQuery.php \Drupal\search\ViewsSearchQuery
  2. 11.x core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/ViewsSearchQuery.php \Drupal\core_fake\Driver\Database\CoreFakeWithAllCustomClasses\ViewsSearchQuery
  3. 10 core/modules/search/src/ViewsSearchQuery.php \Drupal\search\ViewsSearchQuery
  4. 10 core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/ViewsSearchQuery.php \Drupal\core_fake\Driver\Database\CoreFakeWithAllCustomClasses\ViewsSearchQuery
  5. 8.9.x core/modules/search/src/ViewsSearchQuery.php \Drupal\search\ViewsSearchQuery

CorefakeWithAllCustomClasses implementation of \Drupal\search\ViewsSearchQuery.

Hierarchy

Expanded class hierarchy of ViewsSearchQuery

File

core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefakeWithAllCustomClasses/ViewsSearchQuery.php, line 10

Namespace

Drupal\corefake\Driver\Database\corefakeWithAllCustomClasses
View source
class ViewsSearchQuery extends CoreViewsSearchQuery {

}

Members

Title Sort descending Modifiers Object type Summary
SearchQuery::$conditions protected property Conditions that are used for exact searches.
SearchQuery::$executedPrepare protected property Indicates whether the preparation step has been executed.
SearchQuery::$keys protected property Parsed-out positive and negative search keys.
SearchQuery::$matches protected property Indicates how many matches for a search query are necessary.
SearchQuery::$multiply protected property Multipliers for score expressions.
SearchQuery::$normalize protected property Multiplier to normalize the keyword score.
SearchQuery::$relevance_count protected property The number of 'i.relevance' occurrences in score expressions.
SearchQuery::$scores protected property The word score expressions.
SearchQuery::$scoresArguments protected property Arguments for the score expressions.
SearchQuery::$searchExpression protected property The keywords and advanced search options that are entered by the user.
SearchQuery::$simple protected property Indicates whether the query conditions are simple or complex (LIKE).
SearchQuery::$status protected property A bitmap of status conditions, described in getStatus().
SearchQuery::$type protected property The type of search (search type).
SearchQuery::$words protected property Array of positive search words.
SearchQuery::addScore public function Adds a custom score expression to the search query.
SearchQuery::countQuery public function Builds the default count query for SearchQuery.
SearchQuery::execute public function Executes the search.
SearchQuery::EXPRESSIONS_IGNORED constant Indicates that part of the search expression was ignored.
SearchQuery::getStatus public function Returns the query status bitmap.
SearchQuery::LOWER_CASE_OR constant Indicates that lower-case "or" was in the search expression.
SearchQuery::NO_KEYWORD_MATCHES constant Indicates that no positive keyword matches were found.
SearchQuery::NO_POSITIVE_KEYWORDS constant Indicates no positive keywords were in the search expression.
SearchQuery::parseSearchExpression protected function Parses the search query into SQL conditions.
SearchQuery::parseWord protected function Parses a word or phrase for parseQuery().
SearchQuery::preExecute public function
SearchQuery::prepareAndNormalize public function Prepares the query and calculates the normalization factor.
SearchQuery::searchExpression public function Sets the search query expression.
SelectExtender::$connection protected property The connection object on which to run this query.
SelectExtender::$placeholder protected property The placeholder counter.
SelectExtender::$query protected property The Select query object we are extending/decorating.
SelectExtender::$uniqueIdentifier protected property A unique identifier for this query object.
SelectExtender::addExpression public function
SelectExtender::addField public function
SelectExtender::addJoin public function
SelectExtender::addMetaData public function
SelectExtender::addTag public function
SelectExtender::alwaysFalse public function
SelectExtender::andConditionGroup public function
SelectExtender::arguments public function
SelectExtender::compile public function
SelectExtender::compiled public function
SelectExtender::condition public function
SelectExtender::conditionGroupFactory public function
SelectExtender::distinct public function
SelectExtender::escapeField public function
SelectExtender::escapeLike public function
SelectExtender::exists public function
SelectExtender::extend public function
SelectExtender::fields public function
SelectExtender::forUpdate public function
SelectExtender::getArguments public function
SelectExtender::getExpressions public function
SelectExtender::getFields public function
SelectExtender::getGroupBy public function
SelectExtender::getMetaData public function
SelectExtender::getOrderBy public function
SelectExtender::getTables public function
SelectExtender::getUnion public function
SelectExtender::groupBy public function
SelectExtender::hasAllTags public function
SelectExtender::hasAnyTag public function
SelectExtender::hasTag public function
SelectExtender::having public function
SelectExtender::havingArguments public function
SelectExtender::havingCompile public function
SelectExtender::havingCondition public function
SelectExtender::havingConditions public function
SelectExtender::havingExists public function
SelectExtender::havingIsNotNull public function
SelectExtender::havingIsNull public function
SelectExtender::havingNotExists public function
SelectExtender::innerJoin public function
SelectExtender::isNotNull public function
SelectExtender::isNull public function
SelectExtender::isPrepared public function
SelectExtender::join public function
SelectExtender::leftJoin public function
SelectExtender::nextPlaceholder public function
SelectExtender::notExists public function
SelectExtender::orConditionGroup public function
SelectExtender::orderBy public function
SelectExtender::orderRandom public function
SelectExtender::range public function
SelectExtender::union public function
SelectExtender::uniqueIdentifier public function
SelectExtender::where public function
SelectExtender::__call public function Magic override for undefined methods.
SelectExtender::__clone public function
SelectExtender::__construct public function
SelectExtender::__toString public function
ViewsSearchQuery::conditionReplaceString public function Replaces the original condition with a custom one from views recursively.
ViewsSearchQuery::conditions public function Returns the conditions property.
ViewsSearchQuery::matches public function Returns the matches property.
ViewsSearchQuery::publicParseSearchExpression public function Executes and returns the protected parseSearchExpression method.
ViewsSearchQuery::simple public function Returns the simple property.
ViewsSearchQuery::words public function Returns the words property.

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