클래스·함수 명세

URL

Zittme\Framework\URL 클래스의 공개 메서드 목록입니다. 이 문서는 Zittme 코어 소스에서 자동 생성되었습니다.

소스: common/framework/URL.php

공개 메서드

  • static function getCurrentURL(array $changes = [])
  • Get the current URL.
  • static function getCurrentDomain(bool $preserve_port = false)
  • Get the current domain.
  • static function getCurrentDomainURL(string $path = '/')
  • Get a URL using the current domain and the path.
  • static function getCanonicalURL(string $url)
  • Convert a URL to its canonical format.
  • static function getDomainFromURL(string $url)
  • Get the domain from a URL.
  • static function isInternalURL(string $url)
  • Check if a URL is internal to this site.
  • static function modifyURL(string $url, array $changes = [])
  • Modify a URL.
  • static function fromServerPath(string $path)
  • Convert a server-side path to a URL.
  • static function toServerPath(string $url)
  • Convert a URL to a server-side path.
  • static function encodeIdna(string $url)
  • Encode UTF-8 domain into IDNA (punycode)
  • static function decodeIdna(string $url)
  • Convert IDNA (punycode) domain into UTF-8