ZoneStartingLetter
final class ZoneStartingLetter (View source)
The first-letter filter on the forward zone list: '1' for a leading digit, a-z or '_', 'idn' for zones whose name starts with a punycode label, or 'all'.
Constants
| ALL |
|
| DIGITS |
|
| IDN |
|
| PUNYCODE_PREFIX |
|
Methods
static string
normalize(string|null $letter)
Any other value (a stale non-ASCII letter kept in the session, for example) shows all zones.
static bool
startsWithPunycode(string $name)
No description
static bool
matches(string $name, string $letter)
Whether a zone name falls under the filter. A punycode name is listed only under 'idn', not under 'x'.
Details
static string
normalize(string|null $letter)
Any other value (a stale non-ASCII letter kept in the session, for example) shows all zones.
static bool
startsWithPunycode(string $name)
No description
static bool
matches(string $name, string $letter)
Whether a zone name falls under the filter. A punycode name is listed only under 'idn', not under 'x'.