Iri::set_fragment( string $ifragment ): bool

In this article

Set the ifragment.

Parameters

$ifragmentstringrequired

Return

bool

Source

protected function set_fragment($ifragment) {
	if ($ifragment === null) {
		$this->ifragment = null;
	}
	else {
		$this->ifragment = $this->replace_invalid_with_pct_encoding($ifragment, '!$&\'()*+,;=:@/?');
		$this->scheme_normalization();
	}
	return true;
}

User Contributed Notes

You must log in before being able to contribute a note or feedback.