Lines Matching refs:url
36 * @param string $url The URL to filter.
41 public static function removeParamsFromUrl($url, array $paramsToFilter) argument
43 $parts = parse_url($url);
72 * @param string $url The URL that will receive the params.
77 public static function appendParamsToUrl($url, array $newParams = []) argument
80 return $url;
83 if (strpos($url, '?') === false) {
84 return $url . '?' . http_build_query($newParams, null, '&');
87 list($path, $query) = explode('?', $url, 2);
103 * @param string $url The URL to parse the params from.
107 public static function getParamsAsArray($url) argument
109 $query = parse_url($url, PHP_URL_QUERY);