public function prepareQuery($query, $params = false)
    {
        if (isset($params) and is_array($params)) {
            $this->prepareParms($params);
        }

        if (!isset($this->setQuery)) {
            $this->setQuery = $query . ' ';
        } else {
            $this->setQuery .= $this->getQuery() . ' ' . $query . ' ';
        }

        return $this;
    }
public function prepareQuery($query, $params = false)
    {
        if (isset($params) and is_array($params)) {
            $this->prepareParms($params);
        }

        if (!isset($this->setQuery)) {
            $this->setQuery = $query . ' ';
        } else {
            $this->setQuery .= $this->getQuery() . ' ' . $query . ' ';
        }

        return $this;
    }
public function prepareQuery ( $ query , $ params = false ) { if ( isset ( $ params ) and is_array ( $ params ) ) { $ this -> prepareParms ( $ params ) ; } if ( ! isset ( $ this -> setQuery ) ) { $ this -> setQuery = $ query . ' ' ; } else { $ this -> setQuery .= $ this -> getQuery ( ) . ' ' . $ query . ' ' ; } return $ this ; }
Undocumented function.

@param string     $query
@param bool|array $params

@return Database
Undocumented function .