Requests_IRI::set_fragment()protectedWP 1.0

Set the ifragment.

Метод класса: Requests_IRI{}

Хуков нет.

Возвращает

true|false.

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->set_fragment( $ifragment );
$ifragment(строка) (обязательный)
-

Код Requests_IRI::set_fragment() WP 6.1.1

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;
}