Lines Matching refs:authority
184 $name === 'authority'
322 * Parse an IRI into scheme/authority/path/query/fragment segments
330 if (preg_match('/^((?P<scheme>[^:\/?#]+):)?(\/\/(?P<authority>[^\/?#]*))?(?P<path>[^?#]*)(\?(?P<query>[^#]*))?(#(?P<fragment>.*))?$/', $iri, $match)) {
335 $match['authority'] = null;
749 && $this->set_authority($parsed['authority'])
789 * Set the authority. Returns true on success, false on failure (if there are
792 * @param string $authority
795 public function set_authority($authority, $clear_cache = false)
806 if ($authority === null) {
811 } elseif (isset($cache[$authority])) {
817 ] = $cache[$authority];
822 $remaining = $authority;
842 $cache[$authority] = [
1094 * Get the complete authority