protected function _renderQuery($query, $key = '')
    {
        $input = '';
        foreach ($query as $name => $value) {
            $name = $key ? $key.'['.$name.']' : $name;
            if (is_array($value)) {
                $input .= $this->_renderQuery($value, $name);
            } else {
                $input .= PHP_EOL.'<input type="hidden" name="'.$name.'" value="'.$value.'" />';
            }
        }
        
        return $input;
    }
protected function _renderQuery($query, $key = '')
    {
        $input = '';
        foreach ($query as $name => $value) {
            $name = $key ? $key.'['.$name.']' : $name;
            if (is_array($value)) {
                $input .= $this->_renderQuery($value, $name);
            } else {
                $input .= PHP_EOL.'<input type="hidden" name="'.$name.'" value="'.$value.'" />';
            }
        }
        
        return $input;
    }
protected function _renderQuery ( $ query , $ key = '' ) { $ input = '' ; foreach ( $ query as $ name => $ value ) { $ name = $ key ? $ key . '[' . $ name . ']' : $ name ; if ( is_array ( $ value ) ) { $ input .= $ this -> _renderQuery ( $ value , $ name ) ; } else { $ input .= PHP_EOL . '<input type="hidden" name="' . $ name . '" value="' . $ value . '" />' ; } } return $ input ; }
Recursive function that transforms the query array into a string of input elements

@param 	array	Associative array of query information
@param 	string	The name of the current input element
@return 	string	String of the html input elements
Recursive function that transforms the query array into a string of input elements