Abstract Class yii\db\conditions\ConjunctionCondition
| Inheritance | yii\db\conditions\ConjunctionCondition |
|---|---|
| Implements | yii\db\conditions\ConditionInterface |
| Subclasses | yii\db\conditions\AndCondition, yii\db\conditions\OrCondition |
| Available since version | 2.0.14 |
| Source Code | https://github.com/yiisoft/yii2/blob/master/framework/db/conditions/ConjunctionCondition.php |
Class ConjunctionCondition
Protected Properties
| Property | Type | Description | Defined By |
|---|---|---|---|
| $expressions | mixed[] | yii\db\conditions\ConjunctionCondition |
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | yii\db\conditions\ConjunctionCondition | |
| fromArrayDefinition() | {@inheritdoc} | yii\db\conditions\ConjunctionCondition |
| getExpressions() | yii\db\conditions\ConjunctionCondition | |
| getOperator() | Returns the operator that is represented by this condition class, e.g. AND, OR. |
yii\db\conditions\ConjunctionCondition |
Property Details
Method Details
| public void __construct ( $expressions ) | ||
| $expressions | mixed | |
{@inheritdoc}
| public static void fromArrayDefinition ( $operator, $operands ) | ||
| $operator | ||
| $operands | ||
| public mixed[] getExpressions ( ) |
Returns the operator that is represented by this condition class, e.g. AND, OR.
| public abstract string getOperator ( ) |