Class yii\db\conditions\OrCondition

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

Condition that connects two or more SQL expressions with the AND operator.

Protected Properties

Hide inherited properties

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

Method Details

getOperator() public method

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

public string getOperator ( )