src/Titon/Db/Driver/Dialect/AbstractDialect.php
public function formatWhere(Predicate $where) {
        if ($where->getParams()) {
            return sprintf($this->getClause(self::WHERE), $this->formatPredicate($where));
        }

        return '';
    }
public function formatWhere(Predicate $where) {
        if ($where->getParams()) {
            return sprintf($this->getClause(self::WHERE), $this->formatPredicate($where));
        }

        return '';
    }
public function formatWhere ( Predicate $ where ) { if ( $ where -> getParams ( ) ) { return sprintf ( $ this -> getClause ( self :: WHERE ) , $ this -> formatPredicate ( $ where ) ) ; } return '' ; }
Format the where clause.

@param \Titon\Db\Query\Predicate $where
@return string
Format the where clause .