public static function setUrl($url) {

		if(false === is_string($url) && false === $url instanceof URLParser) {
			return trigger_error(sprintf('Argument 1 passed to %s() must be of the type string or instance of sFire\\Utils\\URLParser, "%s" given', __METHOD__, gettype($url)), E_USER_ERROR);
		}

		if(true === is_string($url)) {
			$url = new URLParser($url);
		}

		static :: $url = $url;
		return $url;
	}
public static function setUrl($url) {

		if(false === is_string($url) && false === $url instanceof URLParser) {
			return trigger_error(sprintf('Argument 1 passed to %s() must be of the type string or instance of sFire\\Utils\\URLParser, "%s" given', __METHOD__, gettype($url)), E_USER_ERROR);
		}

		if(true === is_string($url)) {
			$url = new URLParser($url);
		}

		static :: $url = $url;
		return $url;
	}
public static function setUrl ( $ url ) { if ( false === is_string ( $ url ) && false === $ url instanceof URLParser ) { return trigger_error ( sprintf ( 'Argument 1 passed to %s() must be of the type string or instance of sFire\\Utils\\URLParser, "%s" given' , __METHOD__ , gettype ( $ url ) ) , E_USER_ERROR ) ; } if ( true === is_string ( $ url ) ) { $ url = new URLParser ( $ url ) ; } static :: $ url = $ url ; return $ url ; }
Set the current URL
@param string|sFire\Utils\URLParser $url
@return sFire\Utils\URLParser
Set the current URL