Abstract Class yii\db\conditions\ConjunctionCondition

Inheritanceyii\db\conditions\ConjunctionCondition
Implementsyii\db\conditions\ConditionInterface
Subclassesyii\db\conditions\AndCondition, yii\db\conditions\OrCondition
Available since version2.0.14
Source Code https://github.com/yiisoft/yii2/blob/master/framework/db/conditions/ConjunctionCondition.php

Class ConjunctionCondition

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$expressions mixed[] yii\db\conditions\ConjunctionCondition

Property Details

$expressions protected property
protected mixed[] $expressions null

Method Details

__construct() public method

public void __construct ( $expressions )
$expressions mixed
fromArrayDefinition() public static method

{@inheritdoc}

public static void fromArrayDefinition ( $operator, $operands )
$operator
$operands
getExpressions() public method

public mixed[] getExpressions ( )
getOperator() public abstract method

Returns the operator that is represented by this condition class, e.g. AND, OR.

public abstract string getOperator ( )