Lines Matching refs:parts
70 $parts = self::parse($uri);
71 if ($parts === false) {
74 $this->applyParts($parts);
406 * @param array $parts
414 public static function fromParts(array $parts) argument
417 $uri->applyParts($parts);
583 * @param array $parts Array of parse_url parts to apply.
585 private function applyParts(array $parts) argument
587 $this->scheme = isset($parts['scheme'])
588 ? $this->filterScheme($parts['scheme'])
590 $this->userInfo = isset($parts['user'])
591 ? $this->filterUserInfoComponent($parts['user'])
593 $this->host = isset($parts['host'])
594 ? $this->filterHost($parts['host'])
596 $this->port = isset($parts['port'])
597 ? $this->filterPort($parts['port'])
599 $this->path = isset($parts['path'])
600 ? $this->filterPath($parts['path'])
602 $this->query = isset($parts['query'])
603 ? $this->filterQueryAndFragment($parts['query'])
605 $this->fragment = isset($parts['fragment'])
606 ? $this->filterQueryAndFragment($parts['fragment'])
608 if (isset($parts['pass'])) {
609 $this->userInfo .= ':' . $this->filterUserInfoComponent($parts['pass']);