final class ZoneCreateRequest (View source)

What a zone creation form submitted, as ZoneCreateService takes it: the name as typed, the owner controls as posted, and the kind-specific options.

Methods

__construct(string $name, string $type, mixed $ownerInput, mixed $groupsInput, int $callerUserId, string $slaveMaster = '', string $template = 'none', bool $signRequested = false, string|null $soaEditApi = null, bool $reverseNetwork = false, bool $importedFromPrimary = false)

No description

Details

__construct(string $name, string $type, mixed $ownerInput, mixed $groupsInput, int $callerUserId, string $slaveMaster = '', string $template = 'none', bool $signRequested = false, string|null $soaEditApi = null, bool $reverseNetwork = false, bool $importedFromPrimary = false)

No description

Parameters

string $name

The zone name as typed; on the reverse form a network in CIDR notation is accepted too

string $type

MASTER, NATIVE, SLAVE, PRODUCER or CONSUMER

mixed $ownerInput

The posted owner field, if any

mixed $groupsInput

The posted groups field, if any

int $callerUserId
string $slaveMaster

The primary address for a replicating zone, '' otherwise

string $template

The zone template id, or 'none'

bool $signRequested

Whether to sign the zone with DNSSEC after creating it

string|null $soaEditApi

Per-zone SOA-EDIT-API choice; null applies the configured default

bool $reverseNetwork

Whether the name came from the reverse-zone form

bool $importedFromPrimary

Whether the zone is imported from a live primary (audited as an import)