WpOrg\Requests
Iri::set_query
Set the iquery.
Метод класса: Iri{}
Хуков нет.
Возвращает
bool.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->set_query( $iquery );
- $iquery(строка) (обязательный)
- .
Код Iri::set_query() Iri::set query WP 7.1.3
protected function set_query($iquery) {
if ($iquery === null) {
$this->iquery = null;
}
else {
$this->iquery = $this->replace_invalid_with_pct_encoding($iquery, '!$&\'()*+,;=:@/?', true);
$this->scheme_normalization();
}
return true;
}