本文へスキップ
ドキュメント

クラス・関数リファレンス

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