abstract class ConditionAggregateBase in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Entity/Query/ConditionAggregateBase.php \Drupal\Core\Entity\Query\ConditionAggregateBase
Defines a common base class for all aggregation entity condition implementations.
Hierarchy
- class \Drupal\Core\Entity\Query\ConditionFundamentals
- class \Drupal\Core\Entity\Query\ConditionAggregateBase implements ConditionAggregateInterface
Expanded class hierarchy of ConditionAggregateBase
1 file declares its use of ConditionAggregateBase
- ConditionAggregate.php in core/
lib/ Drupal/ Core/ Entity/ Query/ Sql/ ConditionAggregate.php - Contains \Drupal\Core\Entity\Query\Sql\ConditionAggregate.
File
- core/
lib/ Drupal/ Core/ Entity/ Query/ ConditionAggregateBase.php, line 13 - Contains \Drupal\Core\Entity\Query\ConditionAggregateBase.
Namespace
Drupal\Core\Entity\QueryView source
abstract class ConditionAggregateBase extends ConditionFundamentals implements ConditionAggregateInterface {
/**
* {@inheritdoc}
*/
public function condition($field, $function = NULL, $value = NULL, $operator = NULL, $langcode = NULL) {
$this->conditions[] = array(
'field' => $field,
'function' => $function,
'value' => $value,
'operator' => $operator,
'langcode' => $langcode,
);
return $this;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConditionAggregateBase:: |
public | function |
Adds a condition. Overrides ConditionAggregateInterface:: |
|
ConditionAggregateInterface:: |
public | function | Compiles this conditional clause. | 1 |
ConditionAggregateInterface:: |
public | function | Queries for the existence of a field. | 1 |
ConditionAggregateInterface:: |
public | function | Queries for the nonexistence of a field. | 1 |
ConditionFundamentals:: |
protected | property | Array of conditions. | |
ConditionFundamentals:: |
protected | property | The conjunction of this condition group. The value is one of the following: | |
ConditionFundamentals:: |
protected | property | List of potential namespaces of the classes belonging to this condition. | |
ConditionFundamentals:: |
protected | property | The query this condition belongs to. | 1 |
ConditionFundamentals:: |
public | function | ||
ConditionFundamentals:: |
public | function | ||
ConditionFundamentals:: |
public | function | ||
ConditionFundamentals:: |
public | function | Implements the magic __clone function. | |
ConditionFundamentals:: |
public | function | Constructs a Condition object. |