ConditionInterface::compiled

public ConditionInterface::compiled() Check whether a condition has been previously compiled. Return value TRUE if the condition has been previously compiled. File core/lib/Drupal/Core/Database/Query/ConditionInterface.php, line 165 Class ConditionInterface Interface for a conditional clause in a query. Namespace Drupal\Core\Database\Query Code public function compiled();

ConditionInterface::compile

public ConditionInterface::compile($query) Compiles this conditional clause. Parameters $query: The query object this conditional clause belongs to. File core/lib/Drupal/Core/Entity/Query/ConditionInterface.php, line 74 Class ConditionInterface Defines the entity query condition interface. Namespace Drupal\Core\Entity\Query Code public function compile($query);

ConditionInterface::compile

public ConditionInterface::compile(Connection $connection, PlaceholderInterface $queryPlaceholder) Compiles the saved conditions for later retrieval. This method does not return anything, but simply prepares data to be retrieved via __toString() and arguments(). Parameters $connection: The database connection for which to compile the conditionals. $queryPlaceholder: The query this condition belongs to. If not given, the current query is used. File core/lib/Drupal/Core/Database/Query/ConditionI

ConditionInterface::arguments

public ConditionInterface::arguments() Gets a complete list of all values to insert into the prepared statement. Return value An associative array of placeholders and values. File core/lib/Drupal/Core/Database/Query/ConditionInterface.php, line 143 Class ConditionInterface Interface for a conditional clause in a query. Namespace Drupal\Core\Database\Query Code public function arguments();

ConditionInterface::andConditionGroup

public ConditionInterface::andConditionGroup() Creates a new group of conditions ANDed together. Return value \Drupal\Core\Database\Query\ConditionInterface File core/lib/Drupal/Core/Database/Query/ConditionInterface.php, line 186 Class ConditionInterface Interface for a conditional clause in a query. Namespace Drupal\Core\Database\Query Code public function andConditionGroup();

ConditionInterface

Interface for a conditional clause in a query. Hierarchy interface \Drupal\Core\Database\Query\ConditionInterface File core/lib/Drupal/Core/Database/Query/ConditionInterface.php, line 10 Namespace Drupal\Core\Database\Query Members Name Modifiers Type Description ConditionInterface::andConditionGroup public function Creates a new group of conditions ANDed together. ConditionInterface::arguments public function Gets a complete list of all values to insert into the

ConditionInterface

Defines the entity query condition interface. Hierarchy interface \Drupal\Core\Entity\Query\ConditionInterface File core/lib/Drupal/Core/Entity/Query/ConditionInterface.php, line 8 Namespace Drupal\Core\Entity\Query Members Name Modifiers Type Description ConditionInterface::compile public function Compiles this conditional clause. ConditionInterface::condition public function Adds a condition. ConditionInterface::conditions public function Gets a complet

ConditionInterface

An interface for condition plugins. Condition plugins are context-aware and configurable. They support the following keys in their plugin definitions: context: An array of context definitions, keyed by context name. Each context definition is a typed data definition describing the context. Check the typed data definition docs for details. configuration: An array of configuration option definitions, keyed by option name. Each option definition is a typed data definition describing the configur

ConditionFundamentals::__construct

public ConditionFundamentals::__construct($conjunction, QueryInterface $query, $namespaces = []) Constructs a Condition object. Parameters string $conjunction: The operator to use to combine conditions: 'AND' or 'OR'. QueryInterface $query: The entity query this condition belongs to. array $namespaces: List of potential namespaces of the classes belonging to this condition. File core/lib/Drupal/Core/Entity/Query/ConditionFundamentals.php, line 51 Class ConditionFundamentals Common code fo

ConditionFundamentals::__clone

public ConditionFundamentals::__clone() Implements the magic __clone function. Makes sure condition groups are cloned as well. File core/lib/Drupal/Core/Entity/Query/ConditionFundamentals.php, line 83 Class ConditionFundamentals Common code for all implementations of the entity query condition interfaces. Namespace Drupal\Core\Entity\Query Code public function __clone() { foreach ($this->conditions as $key => $condition) { if ($condition['field'] instanceof ConditionInterfa