|
static | isNormalized (string $s, int $form=self::FORM_C) |
|
static | normalize (string $s, int $form=self::FORM_C) |
|
|
const | FORM_D = \Normalizer::FORM_D |
|
const | FORM_KD = \Normalizer::FORM_KD |
|
const | FORM_C = \Normalizer::FORM_C |
|
const | FORM_KC = \Normalizer::FORM_KC |
|
const | NFD = \Normalizer::NFD |
|
const | NFKD = \Normalizer::NFKD |
|
const | NFC = \Normalizer::NFC |
|
const | NFKC = \Normalizer::NFKC |
|
|
static | xD0 => 2, "\xE0" => 3, "\xF0" => 4] |
|
|
static | $C |
|
static | $D |
|
static | $KD |
|
static | $cC |
|
static | $ulenMask = ["\xC0" => 2 |
|
static | $ASCII = "\x20\x65\x69\x61\x73\x6E\x74\x72\x6F\x6C\x75\x64\x5D\x5B\x63\x6D\x70\x27\x0A\x67\x7C\x68\x76\x2E\x66\x62\x2C\x3A\x3D\x2D\x71\x31\x30\x43\x32\x2A\x79\x78\x29\x28\x4C\x39\x41\x53\x2F\x50\x22\x45\x6A\x4D\x49\x6B\x33\x3E\x35\x54\x3C\x44\x34\x7D\x42\x7B\x38\x46\x77\x52\x36\x37\x55\x47\x4E\x3B\x4A\x7A\x56\x23\x48\x4F\x57\x5F\x26\x21\x4B\x3F\x58\x51\x25\x59\x5C\x09\x5A\x2B\x7E\x5E\x24\x40\x60\x7F\x00\x01\x02\x03\x04\x05\x06\x07\x08\x0B\x0C\x0D\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F" |
|
Normalizer is a PHP fallback implementation of the Normalizer class provided by the intl extension.
It has been validated with Unicode 6.3 Normalization Conformance Test. See http://www.unicode.org/reports/tr15/ for detailed info about Unicode normalizations.
- Auteur
- Nicolas Grekas p@tch.nosp@m.work.nosp@m..com
◆ decompose()
static decompose |
( |
|
$s, |
|
|
|
$c |
|
) |
| |
|
staticprivate |
◆ getData()
◆ isNormalized()
static isNormalized |
( |
string |
$s, |
|
|
int |
$form = self::FORM_C |
|
) |
| |
|
static |
◆ normalize()
static normalize |
( |
string |
$s, |
|
|
int |
$form = self::FORM_C |
|
) |
| |
|
static |
◆ recompose()
◆ $ASCII
$ASCII = "\x20\x65\x69\x61\x73\x6E\x74\x72\x6F\x6C\x75\x64\x5D\x5B\x63\x6D\x70\x27\x0A\x67\x7C\x68\x76\x2E\x66\x62\x2C\x3A\x3D\x2D\x71\x31\x30\x43\x32\x2A\x79\x78\x29\x28\x4C\x39\x41\x53\x2F\x50\x22\x45\x6A\x4D\x49\x6B\x33\x3E\x35\x54\x3C\x44\x34\x7D\x42\x7B\x38\x46\x77\x52\x36\x37\x55\x47\x4E\x3B\x4A\x7A\x56\x23\x48\x4F\x57\x5F\x26\x21\x4B\x3F\x58\x51\x25\x59\x5C\x09\x5A\x2B\x7E\x5E\x24\x40\x60\x7F\x00\x01\x02\x03\x04\x05\x06\x07\x08\x0B\x0C\x0D\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F" |
|
staticprivate |
◆ $C
◆ $cC
◆ $D
◆ $KD
◆ $ulenMask
◆ FORM_C
const FORM_C = \Normalizer::FORM_C |
◆ FORM_D
const FORM_D = \Normalizer::FORM_D |
◆ FORM_KC
const FORM_KC = \Normalizer::FORM_KC |
◆ FORM_KD
const FORM_KD = \Normalizer::FORM_KD |
◆ NFC
const NFC = \Normalizer::NFC |
◆ NFD
const NFD = \Normalizer::NFD |
◆ NFKC
const NFKC = \Normalizer::NFKC |
◆ NFKD
const NFKD = \Normalizer::NFKD |
◆ xD0
xD0 => 2, "\xE0" => 3, "\xF0" => 4] |
|
static |
La documentation de cette classe a été générée à partir du fichier suivant :