public function where($sql=null, $params=array())
    {
        $this->_where = new Criteria($sql, $params);

        return $this;
    }
public function where($sql=null, $params=array())
    {
        $this->_where = new Criteria($sql, $params);

        return $this;
    }
public function where ( $ sql = null , $ params = array ( ) ) { $ this -> _where = new Criteria ( $ sql , $ params ) ; return $ this ; }
Sets the where clause to the provided sql, optionally binding
parameters into the string.
@chainable
Sets the where clause to the provided sql optionally binding parameters into the string .