lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php
protected function getSelectConditionCriteriaSQL(Criteria $criteria)
    {
        $expression = $criteria->getWhereExpression();

        if ($expression === null) {
            return '';
        }

        $visitor = new SqlExpressionVisitor($this, $this->class);

        return $visitor->dispatch($expression);
    }
protected function getSelectConditionCriteriaSQL(Criteria $criteria)
    {
        $expression = $criteria->getWhereExpression();

        if ($expression === null) {
            return '';
        }

        $visitor = new SqlExpressionVisitor($this, $this->class);

        return $visitor->dispatch($expression);
    }
protected function getSelectConditionCriteriaSQL ( Criteria $ criteria ) { $ expression = $ criteria -> getWhereExpression ( ) ; if ( $ expression === null ) { return '' ; } $ visitor = new SqlExpressionVisitor ( $ this , $ this -> class ) ; return $ visitor -> dispatch ( $ expression ) ; }
Gets the Select Where Condition from a Criteria object.

@return string
Gets the Select Where Condition from a Criteria object .