public function setQueryVariables(array $array)
    {
        if (!$array) {
            $this->_query = false;
        } else {
            $this->_query = $this->buildQuery(
                $array,
                $this->getOption(self::OPTION_SEPARATOR_OUTPUT)
            );
        }
        return $this;
    }
public function setQueryVariables(array $array)
    {
        if (!$array) {
            $this->_query = false;
        } else {
            $this->_query = $this->buildQuery(
                $array,
                $this->getOption(self::OPTION_SEPARATOR_OUTPUT)
            );
        }
        return $this;
    }
public function setQueryVariables ( array $ array ) { if ( ! $ array ) { $ this -> _query = false ; } else { $ this -> _query = $ this -> buildQuery ( $ array , $ this -> getOption ( self :: OPTION_SEPARATOR_OUTPUT ) ) ; } return $ this ; }
Sets the query string to the specified variable in the query string.

@param array $array (name => value) array

@return $this
Sets the query string to the specified variable in the query string .