protected function setArrayToStringForUrl($sSeparator, $aElements, $aExceptedElements = [''])
    {
        $outArray = $this->normalizeArrayForUrl($aElements);
        if (count($outArray) < 1) {
            return '';
        }
        $xptArray   = $this->normalizeArrayForUrl($aExceptedElements);
        $finalArray = array_diff_key($outArray, $xptArray);
        return http_build_query($finalArray, '', $sSeparator);
    }
protected function setArrayToStringForUrl($sSeparator, $aElements, $aExceptedElements = [''])
    {
        $outArray = $this->normalizeArrayForUrl($aElements);
        if (count($outArray) < 1) {
            return '';
        }
        $xptArray   = $this->normalizeArrayForUrl($aExceptedElements);
        $finalArray = array_diff_key($outArray, $xptArray);
        return http_build_query($finalArray, '', $sSeparator);
    }
protected function setArrayToStringForUrl ( $ sSeparator , $ aElements , $ aExceptedElements = [ '' ] ) { $ outArray = $ this -> normalizeArrayForUrl ( $ aElements ) ; if ( count ( $ outArray ) < 1 ) { return '' ; } $ xptArray = $ this -> normalizeArrayForUrl ( $ aExceptedElements ) ; $ finalArray = array_diff_key ( $ outArray , $ xptArray ) ; return http_build_query ( $ finalArray , '' , $ sSeparator ) ; }
Converts an array to string

@param string $sSeparator
@param array $aElements
@return string
Converts an array to string