final class ZoneSaveResult (View source)

How a zone editor save ended, with what the page needs to report it and, for a refused stale form, the rows to put back in front of the operator.

Methods

__construct(ZoneSaveOutcome $outcome, bool $serialBumped = false, bool $truncated = false, array $errors = [], array $rejectedRecords = [], string|null $rejectedZoneComment = null)

No description

Details

__construct(ZoneSaveOutcome $outcome, bool $serialBumped = false, bool $truncated = false, array $errors = [], array $rejectedRecords = [], string|null $rejectedZoneComment = null)

No description

Parameters

ZoneSaveOutcome $outcome
bool $serialBumped

Whether the SOA serial was incremented

bool $truncated

max_input_vars dropped part of the post

array $errors

Reasons for the rows that failed to write

array $rejectedRecords

Rows to restore after a serial conflict

string|null $rejectedZoneComment