PHP Класс Punycode
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
Punycode implementation as described in RFC 3492
Показать файл
Открыть проект
Примеры использования класса
Защищенные свойства (Protected)
Открытые методы
Защищенные методы
Описание методов
__construct()
публичный Метод
calculateThreshold()
защищенный Метод
Calculate the bias threshold to fall between TMIN and TMAX
charToCodePoint()
защищенный Метод
Convert a single or multi-byte character to its code point
codePointToChar()
защищенный Метод
Convert a code point to its single or multi-byte character
Decode a Punycode domain name to its Unicode counterpart
decodePart()
защищенный Метод
Decode a part of domain name, such as tld
Encode a domain to its Punycode version
encodePart()
защищенный Метод
Encode a part of a domain name, such as tld, to its Punycode version
listCodePoints()
защищенный Метод
List code points for a given input
Описание свойств
$decodeTable защищенное статическое свойство
protected static $decodeTable |
$encodeTable защищенное статическое свойство
protected static $encodeTable |
$encoding защищенное свойство