$this|string public \Bitrix\Main\Entity\Query\Filter\ConditionTree::logic( string $logic = null );
Нестатический метод устанавливает все условия.