Solar_Uri_Public::setQuery()

public void Solar_Uri_Public::setQuery ( string $spec )

Sets the query string in the URI, for Solar_Uri::getQuery() and Solar_Uri::$query.

Inherited from Solar_Uri.

Parameters

  • (string) $spec: The query string to use; for example, foo=bar&baz=dib.

Returns

  • (void)

Description

Sets the query string in the URI, for Solar_Uri::getQuery() and Solar_Uri::$query.

This will overwrite any previous values.



Local