class Condition in Drupal 10
Same name in this branch
- 10 core/lib/Drupal/Core/Condition/Annotation/Condition.php \Drupal\Core\Condition\Annotation\Condition
- 10 core/lib/Drupal/Core/Database/Query/Condition.php \Drupal\Core\Database\Query\Condition
- 10 core/lib/Drupal/Core/Config/Entity/Query/Condition.php \Drupal\Core\Config\Entity\Query\Condition
- 10 core/lib/Drupal/Core/Entity/KeyValueStore/Query/Condition.php \Drupal\Core\Entity\KeyValueStore\Query\Condition
- 10 core/lib/Drupal/Core/Entity/Query/Sql/Condition.php \Drupal\Core\Entity\Query\Sql\Condition
- 10 core/lib/Drupal/Core/Entity/Query/Null/Condition.php \Drupal\Core\Entity\Query\Null\Condition
- 10 core/lib/Drupal/Core/Entity/Query/Sql/pgsql/Condition.php \Drupal\Core\Entity\Query\Sql\pgsql\Condition
- 10 core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefakeWithAllCustomClasses/Condition.php \Drupal\corefake\Driver\Database\corefakeWithAllCustomClasses\Condition
Same name and namespace in other branches
- 9 core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefakeWithAllCustomClasses/Condition.php \Drupal\corefake\Driver\Database\corefakeWithAllCustomClasses\Condition
CorefakeWithAllCustomClasses implementation of \Drupal\Core\Database\Condition.
Hierarchy
- class \Drupal\Core\Database\Query\Condition implements \Drupal\Core\Database\Query\Countable, ConditionInterface
- class \Drupal\corefake\Driver\Database\corefakeWithAllCustomClasses\Condition
Expanded class hierarchy of Condition
4 string references to 'Condition'
- ConditionAggregate::compile in core/
lib/ Drupal/ Core/ Entity/ Query/ Sql/ ConditionAggregate.php - ConnectionTest::providerGetDriverClass in core/
tests/ Drupal/ Tests/ Core/ Database/ ConnectionTest.php - Data provider for testGetDriverClass().
- core.data_types.schema.yml in core/
config/ schema/ core.data_types.schema.yml - core/config/schema/core.data_types.schema.yml
- QueryBase::conditionGroupFactory in core/
lib/ Drupal/ Core/ Entity/ Query/ QueryBase.php - Creates an object holding a group of conditions.
File
- core/
tests/ fixtures/ database_drivers/ module/ corefake/ src/ Driver/ Database/ corefakeWithAllCustomClasses/ Condition.php, line 10
Namespace
Drupal\corefake\Driver\Database\corefakeWithAllCustomClassesView source
class Condition extends QueryCondition {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Condition:: |
protected | property | Array of arguments. | |
Condition:: |
protected | property | Whether the conditions have been changed. | |
Condition:: |
protected static | property | Provides a map of condition operators to condition operator options. | |
Condition:: |
protected | property | Array of conditions. | |
Condition:: |
protected | property | The identifier of the query placeholder this condition has been compiled against. | |
Condition:: |
protected | property | Contains the string version of the Condition. | |
Condition:: |
public | function |
Sets a condition that is always false. Overrides ConditionInterface:: |
|
Condition:: |
public | function |
Creates a new group of conditions ANDed together. Overrides ConditionInterface:: |
|
Condition:: |
public | function |
Gets a complete list of all values to insert into the prepared statement. Overrides ConditionInterface:: |
|
Condition:: |
public | function |
Compiles the saved conditions for later retrieval. Overrides ConditionInterface:: |
|
Condition:: |
public | function |
Check whether a condition has been previously compiled. Overrides ConditionInterface:: |
|
Condition:: |
public | function |
Helper function: builds the most common conditional clauses. Overrides ConditionInterface:: |
|
Condition:: |
public | function |
Creates an object holding a group of conditions. Overrides ConditionInterface:: |
|
Condition:: |
public | function |
Gets the, possibly nested, list of conditions in this conditional clause. Overrides ConditionInterface:: |
|
Condition:: |
public | function | ||
Condition:: |
public | function |
Sets a condition that the specified subquery returns values. Overrides ConditionInterface:: |
|
Condition:: |
public | function |
Sets a condition that the specified field be NOT NULL. Overrides ConditionInterface:: |
|
Condition:: |
public | function |
Sets a condition that the specified field be NULL. Overrides ConditionInterface:: |
|
Condition:: |
protected | function | Gets any special processing requirements for the condition operator. | |
Condition:: |
public | function |
Sets a condition that the specified subquery returns no values. Overrides ConditionInterface:: |
|
Condition:: |
public | function |
Creates a new group of conditions ORed together. Overrides ConditionInterface:: |
|
Condition:: |
public | function |
Adds an arbitrary WHERE clause to the query. Overrides ConditionInterface:: |
|
Condition:: |
public | function | PHP magic __clone() method. | |
Condition:: |
public | function | Constructs a Condition object. | |
Condition:: |
public | function | Implements PHP magic __toString method to convert the conditions to string. |