RecordAddResult
final class RecordAddResult (View source)
Outcome of adding one record from a form, with the companion PTR or A record the operator asked for alongside it.
Constants
| COMPANION_PTR |
|
| COMPANION_A |
|
Methods
__construct(RecordWriteResult $record, string|null $companion = null, bool $companionCreated = false, bool $companionWarning = false, string|null $companionMessage = null)
No description
static string
companionFrom(array $fields)
Which companion a form asked for: the "reverse" box wants a PTR for the address, "create_domain_record" wants an A record for a PTR in a reverse zone.
static RecordAddResult
bool
isOk()
No description
Details
__construct(RecordWriteResult $record, string|null $companion = null, bool $companionCreated = false, bool $companionWarning = false, string|null $companionMessage = null)
No description
static string
companionFrom(array $fields)
Which companion a form asked for: the "reverse" box wants a PTR for the address, "create_domain_record" wants an A record for a PTR in a reverse zone.
static RecordAddResult
refused(RecordWriteResult $record)
No description
bool
isOk()
No description