Lines Matching refs:iri
236 * @param string $iri
238 public function __construct($iri = null) argument
240 $this->set_iri($iri);
323 * @param string $iri
326 protected function parse_iri($iri) argument
328 $iri = trim($iri, "\x20\x09\x0A\x0C\x0D");
329 …authority>[^\/?#]*))?(?P<path>[^?#]*)(\?(?P<query>[^#]*))?(#(?P<fragment>.*))?$/', $iri, $match)) {
711 * @param string $iri
714 public function set_iri($iri, $clear_cache = false) argument
725 if ($iri === null) {
727 } elseif (isset($cache[$iri])) {
737 ] = $cache[$iri];
742 $parsed = $this->parse_iri((string) $iri);
753 $cache[$iri] = [
1036 $iri = '';
1038 $iri .= $this->scheme . ':';
1041 $iri .= '//' . $iauthority;
1044 $iri .= $this->ipath;
1046 $iri .= $this->normalization[$this->scheme]['ipath'];
1049 $iri .= '?' . $this->iquery;
1052 $iri .= '#' . $this->ifragment;
1055 return $iri;