final class ZoneLimitMessages (View source)

Web wording for zone limits on the user, group and add-zone pages.

Methods

static string|null
belowUsage(string $name, int $owned, int|null $limit)

The warning after saving a limit below what the user or group already owns, or null.

static string|null
remaining(int|null $remaining)

The note on the add-zone pages, or null when the acting user is not limited.

Details

static string|null belowUsage(string $name, int $owned, int|null $limit)

The warning after saving a limit below what the user or group already owns, or null.

Parameters

string $name
int $owned
int|null $limit

Return Value

string|null

static string|null remaining(int|null $remaining)

The note on the add-zone pages, or null when the acting user is not limited.

Parameters

int|null $remaining

Return Value

string|null