WpOrg\Requests
Iri::set_fragment
Set the ifragment.
Метод класса: Iri{}
Хуков нет.
Возвращает
true|false.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->set_fragment( $ifragment );
- $ifragment(строка) (обязательный)
- .
Код Iri::set_fragment() Iri::set fragment WP 6.8.3
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;
}