Uri.setFragment

Sets the fragment string in the URI. Use a value of %NULL in @fragment to unset the fragment string.

class Uri
bool
setFragment
(
string fragment
)

Parameters

fragment string

The fragment string to set.

Return Value

Type: bool

%TRUE if the fragment was set/unset successfully.

Meta