ZoneChangeRequest
final class ZoneChangeRequest (View source)
A filed change request: the actions a requester wants applied to a zone, who filed it, and how a reviewer decided it.
Constants
| KIND_RECORDS |
|
| KIND_ZONE_DELETE |
|
| STATUS_PENDING |
|
| STATUS_APPROVED |
|
| STATUS_REJECTED |
|
| STATUS_CANCELLED |
|
| STATUS_FAILED |
|
| OP_ADD |
|
| OP_EDIT |
|
| OP_DELETE |
|
| OP_ZONE_DELETE |
|
Methods
__construct(int $id, int $zoneId, string $zoneName, string $kind, string $status, int|null $requesterId, string $requesterName, string|null $requestComment, string|null $baseSerial, array $actions, string|null $zoneComment, int|null $reviewerId, string|null $reviewerName, string|null $reviewComment, string $createdAt, string|null $reviewedAt, string|null $appliedAt, string|null $error, string|null $snapshot = null)
No description
bool
isPending()
No description
bool
canBeApplied()
Pending requests are applied on approval; a failed one may be tried again.
bool
isDecided()
No description
bool
isZoneDelete()
No description
int
actionCount()
No description
static string
encodePayload(array $actions, string|null $zoneComment)
The stored payload shape: {"actions": [...], "zone_comment": null|string}.
static array
decodePayload(string $payload)
No description
Details
__construct(int $id, int $zoneId, string $zoneName, string $kind, string $status, int|null $requesterId, string $requesterName, string|null $requestComment, string|null $baseSerial, array $actions, string|null $zoneComment, int|null $reviewerId, string|null $reviewerName, string|null $reviewComment, string $createdAt, string|null $reviewedAt, string|null $appliedAt, string|null $error, string|null $snapshot = null)
No description
bool
isPending()
No description
bool
canBeApplied()
Pending requests are applied on approval; a failed one may be tried again.
bool
isDecided()
No description
bool
isZoneDelete()
No description
int
actionCount()
No description
static string
encodePayload(array $actions, string|null $zoneComment)
The stored payload shape: {"actions": [...], "zone_comment": null|string}.
static array
decodePayload(string $payload)
No description