Previous Page
setPath()

Solar_Uri_Action
setQuery()

Next Class
Solar_Uri_Public

setQuery()

public void setQuery ( string $spec )

Sets the Solar_Uri::$query array from a string.

Inherited from Solar_Uri.

Parameters

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

Returns

  • (void)

Description

Sets the Solar_Uri::$query array from a string.

This will overwrite any previous values.