final class ZoneCreateFormMessages (View source)

Words a refused ZoneManagementService::createZone() for the add-zone forms, and the warning about parent-zone records a created zone hides.

The service's own message is the API wording; a zone write refusal already carries the translated reason from DomainManager.

Constants

private SHADOWED_LISTED

Methods

static string
invalidReverseNetwork()

The reverse-zone form got neither a network nor a reverse zone name.

static string
shadowedRecords(ShadowedRecords $shadowed, string $zoneName)

Names the first few hidden records and says how many more there are.

static string
dnssecForbidden()

No description

static string
ownershipError(ZoneOwnershipResolution $resolution)

The refusal of a resolved ownership in the user's language; the resolution's own text is the API wording.

static string
errorMessage(array $result)

No description

static array
memberCountLabels(array $groupIds, array $memberCounts)

"1 member" / "3 members" per group, for the owner pickers of the add-zone forms.

Details

static string invalidReverseNetwork()

The reverse-zone form got neither a network nor a reverse zone name.

Return Value

string

static string shadowedRecords(ShadowedRecords $shadowed, string $zoneName)

Names the first few hidden records and says how many more there are.

Parameters

ShadowedRecords $shadowed
string $zoneName

Return Value

string

static string dnssecForbidden()

No description

Return Value

string

static string ownershipError(ZoneOwnershipResolution $resolution)

The refusal of a resolved ownership in the user's language; the resolution's own text is the API wording.

Parameters

ZoneOwnershipResolution $resolution

Return Value

string

static string errorMessage(array $result)

No description

Parameters

array $result

Return Value

string

static array memberCountLabels(array $groupIds, array $memberCounts)

"1 member" / "3 members" per group, for the owner pickers of the add-zone forms.

Parameters

array $groupIds
array $memberCounts

Keyed by group id; a missing group has none

Return Value

array

Keyed by group id