init
This commit is contained in:
27
vendor/yiisoft/yii2/db/conditions/OrCondition.php
vendored
Normal file
27
vendor/yiisoft/yii2/db/conditions/OrCondition.php
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
/**
|
||||
* @link http://www.yiiframework.com/
|
||||
* @copyright Copyright (c) 2008 Yii Software LLC
|
||||
* @license http://www.yiiframework.com/license/
|
||||
*/
|
||||
|
||||
namespace yii\db\conditions;
|
||||
|
||||
/**
|
||||
* Condition that connects two or more SQL expressions with the `AND` operator.
|
||||
*
|
||||
* @author Dmytro Naumenko <d.naumenko.a@gmail.com>
|
||||
* @since 2.0.14
|
||||
*/
|
||||
class OrCondition extends ConjunctionCondition
|
||||
{
|
||||
/**
|
||||
* Returns the operator that is represented by this condition class, e.g. `AND`, `OR`.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getOperator()
|
||||
{
|
||||
return 'OR';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user