Requests_IRI::get_iauthority()
Get the complete iauthority
{} It's a method of the class: Requests_IRI{}
No Hooks.
Return
String|null
.
Usage
// protected - for code of main (parent) or child class $result = $this->get_iauthority();
Code of Requests_IRI::get_iauthority() Requests IRI::get iauthority WP 6.0
protected function get_iauthority() { if ($this->iuserinfo === null && $this->ihost === null && $this->port === null) { return null; } $iauthority = ''; if ($this->iuserinfo !== null) { $iauthority .= $this->iuserinfo . '@'; } if ($this->ihost !== null) { $iauthority .= $this->ihost; } if ($this->port !== null) { $iauthority .= ':' . $this->port; } return $iauthority; }