CAS_Client::_buildQueryUrl PHP 메소드

_buildQueryUrl() 개인적인 메소드

This method is used to append query parameters to an url. Since the url might already contain parameter it has to be detected and to build a proper URL
private _buildQueryUrl ( string $url, string $query ) : url
$url string base url to add the query params to
$query string params in query form with & separated
리턴 url with query params
    private function _buildQueryUrl($url, $query)
    {
        $url .= strstr($url, '?') === false ? '?' : '&';
        $url .= $query;
        return $url;
    }
CAS_Client