ZoneOwnershipResolution
final class ZoneOwnershipResolution (View source)
Outcome of {ZoneCreateOwnershipResolver}: either a resolved owner/group assignment for the new zone, or an error with HTTP status. The error carries a code so the web forms can word it themselves; the message is the API text.
Constants
| NO_OWNER |
|
| OTHER_OWNER_FORBIDDEN |
|
| UNKNOWN_GROUPS |
|
| GROUPS_NOT_MEMBER |
|
| INVALID_INPUT |
|
| USER_OWNER_DISABLED |
|
| GROUP_OWNER_DISABLED |
|
| NO_GROUPS_EXIST |
|
| NOT_IN_ANY_GROUP |
|
Methods
static ZoneOwnershipResolution
success(int|null $owner, array $groupIds)
No description
static ZoneOwnershipResolution
error(string $message, int $status, string $code, array $ids = [])
No description
bool
hasError()
No description
Details
static ZoneOwnershipResolution
success(int|null $owner, array $groupIds)
No description
static ZoneOwnershipResolution
error(string $message, int $status, string $code, array $ids = [])
No description
bool
hasError()
No description