protected function genQuery(){
        if (file_exists($this->config)){
            include($this->config);
        } else {
            throw new Exception("Config file does not exist!");
        }
        
        if (array_key_exists($this->storeName, $store) && array_key_exists('secretKey', $store[$this->storeName])){
            $secretKey = $store[$this->storeName]['secretKey'];
        } else {
            throw new Exception("Secret Key is missing!");
        }
        
        unset($this->options['Signature']);
        $this->options['Timestamp'] = $this->genTime();
        $this->options['Signature'] = $this->_signParameters($this->options, $secretKey);
        return $this->_getParametersAsString($this->options);
    }
protected function genQuery(){
        if (file_exists($this->config)){
            include($this->config);
        } else {
            throw new Exception("Config file does not exist!");
        }
        
        if (array_key_exists($this->storeName, $store) && array_key_exists('secretKey', $store[$this->storeName])){
            $secretKey = $store[$this->storeName]['secretKey'];
        } else {
            throw new Exception("Secret Key is missing!");
        }
        
        unset($this->options['Signature']);
        $this->options['Timestamp'] = $this->genTime();
        $this->options['Signature'] = $this->_signParameters($this->options, $secretKey);
        return $this->_getParametersAsString($this->options);
    }
protected function genQuery ( ) { if ( file_exists ( $ this -> config ) ) { include ( $ this -> config ) ; } else { throw new Exception ( "Config file does not exist!" ) ; } if ( array_key_exists ( $ this -> storeName , $ store ) && array_key_exists ( 'secretKey' , $ store [ $ this -> storeName ] ) ) { $ secretKey = $ store [ $ this -> storeName ] [ 'secretKey' ] ; } else { throw new Exception ( "Secret Key is missing!" ) ; } unset ( $ this -> options [ 'Signature' ] ) ; $ this -> options [ 'Timestamp' ] = $ this -> genTime ( ) ; $ this -> options [ 'Signature' ] = $ this -> _signParameters ( $ this -> options , $ secretKey ) ; return $ this -> _getParametersAsString ( $ this -> options ) ; }
Handles generation of the signed query string.

This method uses the secret key from the config file to generate the
signed query string.
It also handles the creation of the timestamp option prior.
@return string query string to send to cURL
@throws Exception if config file or secret key is missing
Handles generation of the signed query string .