Requests_IRI::set_fragment()
最后更新于:2021-11-26 03:59:22
Requests_IRI::set_fragment( string$ifragment)Set the ifragment.
参数
- $ifragment
-
(string) (Required)
响应
(bool)
源文件
文件: gc-includes/Requests/IRI.php
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;
}