A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.yiiframework.com/doc/api/2.0/yii-db-conditions-andcondition below:

AndCondition, yii\db\conditions\AndCondition | API Documentation for Yii 2.0

Class yii\db\conditions\AndCondition

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

Method Details

Hide inherited methods

public void __construct ( $expressions ) $expressions mixed

Source code

                public function __construct($expressions) // TODO: use variadic params when PHP>5.6
{
    $this->expressions = $expressions;
}

            

Source code

                public static function fromArrayDefinition($operator, $operands)
{
    return new static($operands);
}

            

Source code

                public function getExpressions()
{
    return $this->expressions;
}

            

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

Source code

                public function getOperator()
{
    return 'AND';
}

            

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4