yiisoft/yii — pull request #1611 by Ryadnov (2012-10-26 07:55:30+00:00)
Title: add `internal_operator` param to CDbCriteria::addCondition function

This feature allow for more difficult conditions, without create new CDbCriteria
a simple example:
now:
```php
$tmpCriteria = new CDbCriteria();
$tmpCriteria->addCondition(array(
'status => :status',
'status = 0 AND owner = :uid'
), 'OR');
$criteria->mergeWith($tmpCriteria, true);
```

after this changes:
```php
$criteria->addCondition(array(
'status => :status',
'status = 0 AND owner = :uid'
), 'AND', 'OR');
```
I'm very confused, but if request will be accepted, please check grammar in function description